/* CSS Houdini - Animatable Gradient Angle */
@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 135deg;
    inherits: false;
}

/* Base Styles & Variables - CordGuard Brand Colors */
:root {
    /* Brand Colors from Logo */
    --primary-color: #1a1a4e;      /* Dark Blue/Purple */
    --secondary-color: #c41e3a;    /* Red */
    --accent-color: #8b1538;       /* Dark Red */
    --gradient-start: #1a1a4e;
    --gradient-end: #c41e3a;
    
    /* Neutral Colors */
    --dark-color: #0f0f2d;
    --light-color: #f8f9fc;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Text Colors */
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    
    /* Status Colors */
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    /* Effects */
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --box-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-tertiary: #f5f7ff;
    --bg-card: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.95);
    
    /* Border Colors */
    --border-color: #e5e7eb;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #6366f1;
    --dark-color: #f8f9fc;
    --light-color: #1a1a2e;
    --white: #0f0f1a;
    --gray-50: #1a1a2e;
    --gray-100: #252538;
    --gray-200: #2d2d44;
    --gray-300: #3d3d5c;
    --gray-400: #6b7280;
    --gray-500: #9ca3af;
    --gray-600: #d1d5db;
    --gray-700: #e5e7eb;
    --gray-800: #f3f4f6;
    --gray-900: #f9fafb;
    
    --text-color: #f3f4f6;
    --text-light: #9ca3af;
    --text-muted: #6b7280;
    
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #252538;
    --bg-card: #1a1a2e;
    --bg-header: rgba(15, 15, 26, 0.95);
    
    --border-color: #2d2d44;
    
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

/* Dark Mode Element Overrides */
[data-theme="dark"] header {
    background: var(--bg-header);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .hero,
[data-theme="dark"] .services,
[data-theme="dark"] .about {
    background: var(--bg-primary);
}

[data-theme="dark"] .guardchat,
[data-theme="dark"] .team-section,
[data-theme="dark"] .services-hero,
[data-theme="dark"] .services-cta {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .team-member,
[data-theme="dark"] .cta-box,
[data-theme="dark"] .server-info {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .service-card.featured {
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%) border-box;
}

[data-theme="dark"] footer {
    background: var(--bg-secondary);
}

[data-theme="dark"] .secondary-btn {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .secondary-btn:hover {
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] .features-section,
[data-theme="dark"] .how-it-works {
    background: var(--bg-primary);
}

[data-theme="dark"] .feature-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

/* Dark Mode Contact Form */
[data-theme="dark"] .contact-container {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .contact-info {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-muted);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .form-group select option {
    background: var(--bg-secondary);
    color: var(--text-color);
}

[data-theme="dark"] .form-group label {
    color: var(--text-color);
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-color);
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.theme-toggle .fa-sun {
    display: none;
}

.theme-toggle .fa-moon {
    display: block;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.primary-btn {
    --gradient-angle: 135deg;
    background: linear-gradient(var(--gradient-angle), var(--gradient-end) 0%, var(--gradient-start) 100%);
    color: white !important;
    box-shadow: 0 4px 20px 0 rgba(196, 30, 58, 0.25), 0 4px 14px 0 rgba(26, 26, 78, 0.2);
    position: relative;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px 0 rgba(26, 26, 78, 0.3), 0 6px 20px 0 rgba(196, 30, 58, 0.25);
    animation: rotateGradient 3s linear infinite;
}

@keyframes rotateGradient {
    0% {
        --gradient-angle: 135deg;
    }
    100% {
        --gradient-angle: 495deg;
    }
}

.primary-btn span,
.primary-btn i {
    position: relative;
    z-index: 2;
    color: white !important;
}

.secondary-btn {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--gray-200);
    padding: 0.875rem 1.875rem;
    border-radius: var(--radius-xl);
}

.secondary-btn:hover {
    border-color: var(--primary-color);
    background-color: rgba(26, 26, 78, 0.05);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    margin: 1.25rem auto 0;
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    background-color: var(--bg-header);
    box-shadow: var(--box-shadow);
}

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

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

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

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.logo a span {
    background: linear-gradient(135deg, var(--gradient-end) 0%, var(--gradient-start) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.nav-links .cta-button {
    --gradient-angle: 135deg;
    background: linear-gradient(var(--gradient-angle), var(--gradient-end) 0%, var(--gradient-start) 100%);
    color: white !important;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 14px 0 rgba(196, 30, 58, 0.25);
}

.nav-links .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(196, 30, 58, 0.35);
    animation: rotateGradient 3s linear infinite;
}

.nav-links .cta-button::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: var(--radius-full);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 26, 78, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196, 30, 58, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(26, 26, 78, 0.08) 0%, rgba(196, 30, 58, 0.08) 100%);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(26, 26, 78, 0.1);
}

.hero-badge i {
    color: var(--secondary-color);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--gradient-end) 0%, var(--gradient-start) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 90%;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.cta-buttons .primary-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 12px;
}

.cta-buttons .primary-btn,
.cta-buttons .primary-btn span,
.cta-buttons .primary-btn i {
    color: white !important;
}

.cta-buttons .secondary-btn {
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
    border-radius: 12px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(26, 26, 78, 0.1) 0%, rgba(196, 30, 58, 0.1) 100%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

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

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-xl);
    border-color: transparent;
}

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

.service-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(26, 26, 78, 0.08) 0%, rgba(196, 30, 58, 0.08) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    position: relative;
    transition: transform 500ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.service-card .icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 0;
}

.service-card .icon i {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    transition: -webkit-text-fill-color 2s ease-in-out, background 2s ease-in-out;
}

.service-card:hover .icon {
    transform: scale(1.1);
}

.service-card:hover .icon::before {
    opacity: 1;
}

.service-card:hover .icon i {
    background: none;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.85);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* OmniChat Section */
.guardchat {
    padding: 100px 0;
    background: var(--gray-50);
    position: relative;
}

.guardchat-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.guardchat-text {
    flex: 1;
}

.guardchat h2 {
    font-size: 2.75rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.guardchat h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.guardchat p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.7;
}

.features-list {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.features-list i {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(26, 26, 78, 0.1) 0%, rgba(196, 30, 58, 0.1) 100%);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.9rem;
}

.features-list i::before {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guardchat .primary-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 12px;
}

.guardchat-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.guardchat-image img {
    max-width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--box-shadow-xl);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 2.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: transparent;
}

.stat-item h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--gray-50);
}

.contact-content {
    display: flex;
    gap: 0;
    margin-top: 3rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--box-shadow-xl);
}

.contact-info {
    flex: 1;
    padding: 3rem;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

.contact-info p {
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-method i {
    font-size: 1.25rem;
    margin-right: 1rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-method p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    opacity: 0.9;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.contact-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.contact-form {
    flex: 1;
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 26, 78, 0.1);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .primary-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
}

.contact-form .primary-btn,
.contact-form .primary-btn span,
.contact-form .primary-btn i {
    color: white !important;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-about {
    max-width: 300px;
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-about .footer-logo img {
    height: 40px;
    width: auto;
}

.footer-about .footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

.footer-about p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    color: white;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4,
.footer-newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: var(--radius-full);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-services a {
    color: var(--gray-400);
    transition: var(--transition);
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-services a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-newsletter p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    margin-top: 1.25rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.newsletter-form input::placeholder {
    color: var(--gray-400);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    border: none;
    padding: 0 1.25rem;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .guardchat-content,
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .guardchat-image,
    .hero-image {
        margin-top: 3rem;
    }
}

/* ==================== RESPONSIVE STYLES ==================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .guardchat-content {
        gap: 3rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 0;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0.75rem 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* Header */
    header {
        padding: 0.75rem 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo a {
        font-size: 1.25rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
        max-width: 100%;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-image img {
        max-width: 200px;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .primary-btn,
    .cta-buttons .secondary-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Sections */
    .services,
    .guardchat,
    .about {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* OmniChat */
    .guardchat-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .guardchat h2 {
        font-size: 2rem;
    }
    
    .guardchat h3 {
        font-size: 1.25rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .guardchat-image img {
        max-width: 100%;
    }
    
    /* About */
    .about-content {
        padding: 0 1rem;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .stat-item {
        width: 100%;
        max-width: 280px;
    }
    
    /* Contact */
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Team */
    .team-section {
        padding: 80px 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .server-info {
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .server-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* CTA Banner */
    .cta-banner {
        padding: 50px 0;
    }
    
    .cta-banner h2 {
        font-size: 1.5rem;
    }
    
    .cta-banner p {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-about {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links ul,
    .footer-services ul {
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        margin-top: 0;
    }
    
    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 110px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.85rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-image img {
        max-width: 160px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn,
    .primary-btn,
    .secondary-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-card .icon {
        width: 50px;
        height: 50px;
    }
    
    .service-card h3 {
        font-size: 1.15rem;
    }
    
    .guardchat h2 {
        font-size: 1.75rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .team-member {
        padding: 1.5rem 1rem;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
    
    .member-name {
        font-size: 1.2rem;
    }
    
    .cta-banner h2 {
        font-size: 1.35rem;
    }
    
    footer {
        padding: 50px 0 0;
    }
}

/* Services CTA */
.services-cta-center {
    text-align: center;
    margin-top: 3rem;
}

.services-cta-center .secondary-btn {
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.cta-banner .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-banner .primary-btn {
    background: white !important;
    color: var(--primary-color) !important;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.cta-banner .primary-btn i {
    color: var(--primary-color) !important;
}

.cta-banner .primary-btn:hover {
    background: var(--gray-100) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* About Section Enhancement */
.about-content {
    text-align: center;
}

.about-content > a {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==================== */
/* Team Section Styles  */
/* ==================== */
.team-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
    min-height: 60vh;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

.section-subtitle::after {
    display: none;
}

.team-section .section-title {
    margin-bottom: 1.5rem;
}

.team-section .section-title::after {
    display: none;
}

/* Server Info */
.server-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1rem 2rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.server-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.server-stats {
    display: flex;
    gap: 1.5rem;
}

.server-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.server-stats i {
    color: var(--primary-color);
}

/* Alert Styles */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert i {
    font-size: 1.5rem;
}

.alert small {
    display: block;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Team Hierarchy */
.team-hierarchy {
    margin-top: 2rem;
}

.role-group {
    margin-bottom: 3rem;
}

.role-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid currentColor;
    opacity: 0.9;
}

.role-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.role-members.single-member {
    justify-content: center;
}

/* Team Grid (fallback) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Team Member Card */
.team-member {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    width: 280px;
    min-height: 300px;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--role-color, var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.team-member:hover::before {
    opacity: 1;
}

/* Member Avatar */
.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.avatar-border {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.team-member:hover .avatar-border {
    opacity: 1;
    transform: scale(1.05);
}

/* Member Info */
.member-name {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin: 0 0 0.25rem;
    font-weight: 600;
}

.member-username {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0 0 1rem;
}

/* Role Badge */
.member-role-badge {
    margin-bottom: 1rem;
}

.highest-role {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(88, 101, 242, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Member Roles */
.member-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    min-height: 28px;
    margin-bottom: 1rem;
}

.role-tag {
    background: #f0f2ff;
    color: #666;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.role-more {
    background: #e0e0e0;
    color: #888;
}

/* Member Actions */
.member-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.discord-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #5865F2;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.discord-link:hover {
    background: #4752C4;
    transform: scale(1.1);
    color: white;
}

/* Team Footer */
.team-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cache-info {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cache-info i {
    margin-right: 0.5rem;
}

.refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* No Members State */
.no-members {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.no-members-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.no-members h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.no-members > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.troubleshoot {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.troubleshoot h4 {
    font-size: 0.95rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.troubleshoot ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.troubleshoot li {
    margin-bottom: 0.5rem;
}

/* Team Responsive */
@media (max-width: 768px) {
    .team-section {
        padding: 60px 0;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .server-info {
        flex-direction: column;
        padding: 1rem;
    }
    
    .server-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
}

/* ====================== */
/* Services Page Styles   */
/* ====================== */
.services-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
    text-align: center;
}

.services-hero .section-title {
    margin-bottom: 1.5rem;
}

.services-hero .section-title::after {
    display: none;
}

.services-main {
    padding: 60px 0 100px;
    background: var(--white);
}

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

.service-card.featured {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%) border-box;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-features i {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

.services-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
}

.cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--box-shadow-lg);
}

.cta-box h2 {
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-box .primary-btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .services-hero {
        padding: 100px 0 40px;
    }
    
    .services-main .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 2rem;
    }
}

/* ====================== */
/* OmniChat Page Styles  */
/* ====================== */
.guardchat-hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #5865F2 0%, #404EED 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.guardchat-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/pattern.svg') repeat;
    opacity: 0.1;
}

.guardchat-hero .guardchat-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.guardchat-hero .guardchat-text {
    flex: 1;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.guardchat-hero .guardchat-text h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.guardchat-hero .guardchat-text h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: white;
}

.guardchat-hero .guardchat-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
}

.guardchat-preview {
    flex: 1;
}

.guardchat-preview img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #5865F2 0%, #404EED 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* How it Works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-primary);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    max-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.step p {
    color: var(--text-light);
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #5865F2 0%, #404EED 100%);
    color: white;
}

.cta-section .cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-section .cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: white;
    color: #5865F2 !important;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-btn i {
    color: #5865F2 !important;
    font-size: 1.2rem;
}

.cta-btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* ====================== */
/* Legal Pages Styles     */
/* ====================== */
.legal-page {
    padding: 120px 0 80px;
    background: var(--bg-primary);
    min-height: 60vh;
}

.legal-page .section-title {
    margin-bottom: 2rem;
}

.legal-page .section-title::after {
    display: none;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.legal-content .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin: 2rem 0 1rem;
    padding-top: 1rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

.legal-content h3 {
    font-size: 1.15rem;
    color: var(--dark-color);
    margin: 1.5rem 0 0.75rem;
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-light);
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
}

/* ====================== */
/* Application Page       */
/* ====================== */
.application-page {
    padding: 120px 0 80px;
    background: var(--bg-primary);
    min-height: 80vh;
}

.application-header {
    text-align: center;
    margin-bottom: 3rem;
}

.application-header .section-title::after {
    display: none;
}

.application-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.application-header .back-link:hover {
    color: var(--primary-color);
}

/* Positions Grid */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.position-card-public {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.position-card-public:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.position-card-public.position-closed {
    opacity: 0.7;
}

.position-card-public.position-closed:hover {
    transform: none;
    border-color: var(--border-color);
}

.position-closed-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ED4245;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.position-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
}

.position-card-public h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.position-card-public .position-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.position-card-public .position-requirements {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    text-align: left;
}

.position-card-public .position-requirements strong {
    color: var(--dark-color);
    font-size: 0.85rem;
}

.position-card-public .position-requirements p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0.5rem 0 0;
}

.position-btn {
    width: 100%;
    justify-content: center;
    border-radius: 50px;
}

.no-positions {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.no-positions i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.no-positions h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.no-positions p {
    color: var(--text-muted);
}

.application-info-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #5865F210, #404EED05);
    border: 1px solid #5865F230;
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
}

.application-info-box .info-icon {
    width: 60px;
    height: 60px;
    background: #5865F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.application-info-box .info-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.application-info-box .info-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* Application Closed */
.application-closed {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    margin: 2rem auto;
}

.application-closed .closed-icon {
    width: 80px;
    height: 80px;
    background: #ED4245;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.application-closed h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.application-closed p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Login Required Card */
.login-required {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    max-width: 450px;
    width: 100%;
}

.login-card.error {
    border-color: #FEE75C;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: #5865F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.login-card.error .login-icon {
    background: #FEE75C;
    color: #1a1a2e;
}

.login-card h2 {
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.login-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.discord-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(26, 26, 78, 0.3);
}

.discord-login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 26, 78, 0.4);
    color: white;
}

.login-info {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.login-info a {
    color: var(--primary-color);
}

.logout-link {
    display: block;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* User Card in Form */
.user-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.user-card .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.user-card .user-details {
    flex: 1;
}

.user-card .user-details h4 {
    color: var(--dark-color);
    margin: 0 0 0.25rem;
}

.user-card .user-details span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.user-card .change-account {
    color: var(--text-muted);
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.user-card .change-account:hover {
    color: var(--primary-color);
}

.requirements-box,
.benefits-box {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.requirements-box h4,
.benefits-box h4 {
    color: var(--dark-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirements-box p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.benefits-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-box li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 0.25rem 0;
}

.benefits-box li i {
    color: var(--primary-color);
    width: 16px;
}

.application-success {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--box-shadow);
}

.success-icon {
    font-size: 4rem;
    color: #57F287;
    margin-bottom: 1.5rem;
}

.application-success h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.application-success p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.application-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.application-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.application-info h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.application-info h3:not(:first-child) {
    margin-top: 2rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list i {
    color: var(--primary-color);
    width: 20px;
}

.positions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.position-item {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.position-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.position-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.application-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.application-form h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.application-form .form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-label a {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .application-content {
        grid-template-columns: 1fr;
    }
    
    .application-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .application-page {
        padding: 100px 0 60px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .application-form {
        padding: 1.5rem;
    }
}

/* OmniChat Responsive */
@media (max-width: 768px) {
    .guardchat-hero .guardchat-content {
        flex-direction: column;
        text-align: center;
    }
    
    .guardchat-hero .guardchat-text h1 {
        font-size: 3rem;
    }
    
    .guardchat-hero .guardchat-text h2 {
        font-size: 1.4rem;
    }
    
    .guardchat-hero .guardchat-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .guardchat-hero .cta-buttons {
        justify-content: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}
