/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #475569;
    --primary-dark: #334155;
    --secondary-color: #64748b;
    --accent-color: #64748b;
    --success-color: #059669;
    --warning-color: #d97706;
    --error-color: #dc2626;
    --background-color: #ffffff;
    --surface-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.08);
    --shadow-md: 0 4px 8px -2px rgb(0 0 0 / 0.12), 0 2px 4px -2px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 12px 20px -4px rgb(0 0 0 / 0.15), 0 4px 8px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 24px 32px -6px rgb(0 0 0 / 0.18), 0 8px 16px -8px rgb(0 0 0 / 0.12);
    --border-radius: 10px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--background-color);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav-logo i {
    margin-right: 8px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: white;
    transform: translateY(-1px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #475569 0%, #64748b 50%, #4a5568 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 600px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUpSmooth 1s ease-out;
    min-height: 1.1em;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.95;
    letter-spacing: -0.01em;
    color: #cbd5e1;
    animation: fadeInUpSmooth 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.8;
    font-weight: 400;
    color: #e2e8f0;
    animation: fadeInUpSmooth 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUpSmooth 1s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeInUpSmooth 1s ease-out 0.8s both;
    width: 280px;
    max-width: 280px;
    min-width: 280px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Responsive hero stats */
@media (max-width: 1023px) {
    .hero-stats {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        margin: 0;
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
        order: 1;
    }
    
    .hero-content {
        order: 2;
    }
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    height: 100px;
    width: 280px;
    max-width: 280px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Responsive stat cards */
@media (max-width: 1023px) {
    .stat {
        flex: 1;
        padding: 1rem 0.5rem;
        min-width: auto;
        max-width: none;
        width: auto;
        height: auto;
        min-height: 80px;
    }
}

.stat:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: white !important;
    height: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hero .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: white !important;
    height: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(71, 85, 105, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(71, 85, 105, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Button variant for light backgrounds */
.btn-secondary-light {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-secondary-light:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(71, 85, 105, 0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--surface-color);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Servers Section */
.servers {
    padding: 80px 0;
}

.servers h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.server-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.server-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.server-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.server-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.server-status.online {
    background: #dcfce7;
    color: #166534;
}

.server-status.warning {
    background: #fef3c7;
    color: #92400e;
}

.server-status.offline {
    background: #fee2e2;
    color: #991b1b;
}

.server-details p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.server-details strong {
    color: var(--text-primary);
}

.connection-info {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.connection-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.connection-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.connection-method h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.connection-method code {
    background: var(--text-primary);
    color: white;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    display: block;
}

/* Channels Section */
.channels {
    padding: 80px 0;
    background: var(--surface-color);
}

.channels h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.network-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-source {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stat-source a {
    color: var(--primary-color);
    text-decoration: none;
}

.stat-source a:hover {
    text-decoration: underline;
}

.channels-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.channels-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.channels-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.monitoring-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.monitoring-card {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.monitoring-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.monitoring-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.875rem;
}


.section-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.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(71, 85, 105, 0.1);
}



/* Web Chat Section */
.webchat {
    padding: 80px 0;
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    color: white;
}

.webchat h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.webchat .section-description {
    text-align: center;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.webchat-coming-soon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.coming-soon-content {
    text-align: left;
}

.coming-soon-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.coming-soon-icon i {
    font-size: 2rem;
    color: white;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.coming-soon-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.coming-soon-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.features-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 1.25rem;
    color: #fbbf24;
}

.feature-item span {
    font-weight: 500;
    color: white;
}

.coming-soon-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.webchat-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-window {
    width: 100%;
    max-width: 500px;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-header {
    background: #2d2d2d;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.preview-title {
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
}

.preview-content {
    padding: 1.5rem;
    background: #1a1a1a;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.preview-message {
    display: flex;
    gap: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.4;
}

.preview-message .timestamp {
    color: #6b7280;
    flex-shrink: 0;
}

.preview-message .user {
    color: #3b82f6;
    font-weight: 600;
    flex-shrink: 0;
}

.preview-message .text {
    color: #e5e7eb;
    word-wrap: break-word;
}

.preview-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-input .prompt {
    color: #10b981;
    font-weight: 600;
}

.preview-input .typing {
    color: #6b7280;
    font-style: italic;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Routing Committee Section */
.routing {
    padding: 80px 0;
    background: var(--surface-color);
}

.routing h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.routing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.routing-info h3,
.routing-requirements h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.requirement-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.requirement-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.requirement-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.requirement-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.requirement-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-card ul li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.requirement-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 600;
}

.routing-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.current-servers {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.current-servers h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.servers-table {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
}

.table-header {
    display: contents;
}

.table-header > div {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
}

.table-row {
    display: contents;
}

.table-row > div {
    background: var(--surface-color);
    padding: 1rem;
    text-align: center;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.permanent {
    background: #dcfce7;
    color: #166534;
}

.status-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.offline {
    background: #fee2e2;
    color: #991b1b;
}

/* Help Section */
.help {
    padding: 80px 0;
    background: var(--background-color);
}

.help h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.help-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.help-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.help-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.help-icon i {
    font-size: 1.5rem;
    color: white;
}

.help-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.help-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.help-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.help-link:hover {
    color: var(--primary-dark);
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.contact-method h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-method p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
}

.contact-form {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.form-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-error {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1rem;
    display: none;
}

.form-error.show {
    display: block;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.char-counter.warning {
    color: var(--warning-color);
}

.char-counter.error {
    color: var(--error-color);
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 1rem;
    font-weight: 600;
}

.contact-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-form .btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Form Success Message */
.form-success-message {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 2px solid #22c55e;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
}

.success-content i {
    font-size: 3rem;
    color: #22c55e;
    margin-bottom: 1rem;
}

.success-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 1rem;
}

.success-content p {
    color: #166534;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.success-content .btn {
    background: #22c55e;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.success-content .btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 8px;
    font-size: 1.8rem;
    color: white;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Performance optimizations for mobile */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Force mobile layout for hero */
@media (max-width: 480px) {
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0 0.75rem !important;
        box-sizing: border-box !important;
    }
    
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Improve touch scrolling on iOS */
.hero,
.features,
.servers,
.channels,
.webchat,
.routing,
.help,
.contact {
    -webkit-overflow-scrolling: touch;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll reveal classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

@keyframes fadeInUpStable {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpSmooth {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.server-card,
.channel-card,
.help-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.cookie-banner-text p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-btn-accept {
    background: #059669;
    color: white;
}

.cookie-btn-accept:hover {
    background: #047857;
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-settings {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.cookie-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 500;
}

.cookie-link:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.cookie-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.cookie-modal-body {
    padding: 1rem 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cookie-category h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 24px;
    background: var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-toggle.active {
    background: var(--primary-color);
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-toggle.active::after {
    transform: translateX(26px);
}

.cookie-category p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-modal-footer {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* ========================================
   COMPLETE RESPONSIVE DESIGN SYSTEM
   ======================================== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 2rem;
    }
    
    .nav-container {
        max-width: 1400px;
    }
    
    .hero-container {
        max-width: 1400px;
        gap: 6rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .servers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .help-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Desktop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .container {
        max-width: 1000px;
        padding: 0 1.5rem;
    }
    
    .nav-container {
        max-width: 1000px;
    }
    
    .hero-container {
        gap: 4rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .servers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .servers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .network-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .webchat-coming-soon {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .monitoring-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .routing-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile and Tablet - Show hamburger menu */
@media (max-width: 1023px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #475569 0%, #64748b 100%);
        width: 100%;
        text-align: center;
        transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 0.5rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        opacity: 0;
        transform: scale(0.95);
        pointer-events: none;
    }

    .nav-menu.active {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu a {
        color: white;
        font-size: 0.9rem;
        padding: 0.2rem 0.5rem;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        margin: 0.1rem 0;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Mobile Large (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {

    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }

    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        order: 2;
    }

    .hero-stats {
        order: 1;
        width: 100%;
        max-width: 100%;
        min-width: auto;
        margin: 0;
        flex-direction: row;
        justify-content: space-around;
        gap: 0.5rem;
    }

    .stat {
        flex: 1;
        padding: 0.75rem 0.25rem;
        min-width: auto;
        max-width: none;
        width: auto;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .servers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .connection-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .network-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .monitoring-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .help-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .servers-table {
        overflow-x: visible !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .table-header,
    .table-row {
        min-width: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .webchat-coming-soon {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .coming-soon-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .preview-window {
        max-width: 100%;
    }
    
    .routing-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: 100vh;
        display: flex;
        align-items: center;
        background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #374151 100%);
        position: relative;
    }
    
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.2);
        z-index: 1;
    }
    
    .hero-container {
        position: relative;
        z-index: 2;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        white-space: normal !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    .hero-content h1::before {
        content: "Welcome to NetIRC";
        display: block;
    }
    
    .hero-content h1::after {
        content: "IRC Network";
        display: block;
        font-size: 0.9em;
        opacity: 0.9;
    }
    
    .hero-content h1 {
        font-size: 0 !important;
        line-height: 1.3 !important;
    }
    
    .hero-content h1::before,
    .hero-content h1::after {
        font-size: 2.2rem !important;
        font-weight: 800 !important;
        letter-spacing: -0.02em !important;
        background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        animation: fadeInUpSmooth 1s ease-out !important;
    }
    
    .hero-content h1::after {
        animation-delay: 0.3s !important;
        animation-fill-mode: both !important;
    }

    .hero-description {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        opacity: 0.95;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-card h3 {
        font-size: 1.125rem;
    }

    .server-card h3 {
        font-size: 1.125rem;
    }

    .help-card h3 {
        font-size: 1.125rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .preview-window {
        max-width: 100%;
    }

    .stat {
        padding: 0.75rem 0.5rem;
        min-height: 70px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(20px);
    }

    .stat-number {
        font-size: 1.4rem;
        font-weight: 700;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .stat-label {
        font-size: 0.8rem;
        opacity: 0.95;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    .hero-stats {
        gap: 0.5rem;
        margin-bottom: 2rem;
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        margin-left: 0 !important;
        flex-direction: row !important;
        justify-content: space-around !important;
    }
    
    .hero-content {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-content h1,
    .hero-description,
    .hero-buttons {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
        font-weight: 600;
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
    }
    
    .hero-buttons {
        gap: 1rem;
        margin-top: 1.5rem;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .feature-card,
    .server-card,
    .help-card,
    .requirement-card {
        padding: 1.5rem;
    }
    
    .features,
    .servers,
    .channels,
    .webchat,
    .help,
    .contact {
        padding: 60px 0;
    }

    .features h2,
    .servers h2,
    .channels h2,
    .webchat h2,
    .help h2,
    .contact h2 {
        font-size: 1.75rem;
    }
    
    /* Webchat Mobile Optimizations */
    .webchat {
        padding: 60px 0 !important;
        background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #374151 100%) !important;
        position: relative !important;
    }
    
    .webchat::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.2);
        z-index: 1;
    }
    
    .webchat .container {
        position: relative;
        z-index: 2;
    }
    
    .webchat h2 {
        font-size: 2rem !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
        margin-bottom: 1rem !important;
    }
    
    .webchat .section-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
        margin-bottom: 2rem !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
    }
    
    .webchat-coming-soon {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .coming-soon-content {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    .webchat-preview {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    .preview-window {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .coming-soon-actions {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 2rem !important;
    }
    
    .coming-soon-actions .btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        min-height: 48px !important;
        font-weight: 600 !important;
    }
    
    .features-preview {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .feature-item {
        padding: 0.75rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .feature-item i {
        font-size: 1.2rem !important;
    }
    
    .feature-item span {
        font-size: 0.9rem !important;
        font-weight: 500 !important;
    }
    
    /* Preview Window Mobile */
    .preview-window {
        background: #1a1a1a !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .preview-header {
        background: #2d2d2d !important;
        padding: 0.75rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .preview-controls {
        display: flex !important;
        gap: 0.5rem !important;
    }
    
    .control {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important;
    }
    
    .preview-title {
        color: white !important;
        font-weight: 500 !important;
        font-size: 0.8rem !important;
    }
    
    .preview-content {
        padding: 1rem !important;
        background: #1a1a1a !important;
        min-height: 200px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .preview-message {
        display: flex !important;
        gap: 0.5rem !important;
        font-family: 'Courier New', monospace !important;
        font-size: 0.75rem !important;
        color: #e5e5e5 !important;
    }
    
    .preview-input {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        margin-top: auto !important;
        padding: 0.5rem !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 4px !important;
    }
    
    /* Routing Section Mobile Optimizations */
    .routing {
        padding: 60px 0 !important;
        background: var(--surface-color) !important;
    }
    
    .routing h2 {
        font-size: 2rem !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
        color: var(--text-primary) !important;
    }
    
    .routing .section-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        color: var(--text-secondary) !important;
    }
    
    .routing-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 2rem 0 !important;
    }
    
    .routing-info {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    .routing-requirements {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    .routing-info h3,
    .routing-requirements h3 {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        margin-bottom: 1rem !important;
        color: var(--text-primary) !important;
    }
    
    .process-steps {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .step {
        display: flex !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        padding: 1rem !important;
        background: rgba(71, 85, 105, 0.05) !important;
        border-radius: 8px !important;
        border: 1px solid rgba(71, 85, 105, 0.1) !important;
    }
    
    .step-number {
        background: var(--primary-color) !important;
        color: white !important;
        border-radius: 50% !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        flex-shrink: 0 !important;
    }
    
    .step-content h4 {
        font-size: 1rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.5rem !important;
        color: var(--text-primary) !important;
    }
    
    .step-content p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: var(--text-secondary) !important;
        margin: 0 !important;
    }
    
    .requirements-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .requirement-card {
        padding: 1.5rem !important;
        background: rgba(71, 85, 105, 0.05) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(71, 85, 105, 0.1) !important;
        text-align: center !important;
    }
    
    .requirement-card i {
        font-size: 2rem !important;
        color: var(--primary-color) !important;
        margin-bottom: 1rem !important;
    }
    
    .requirement-card h4 {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        margin-bottom: 1rem !important;
        color: var(--text-primary) !important;
    }
    
    .requirement-card ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .requirement-card li {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: var(--text-secondary) !important;
        margin-bottom: 0.5rem !important;
        padding-left: 1rem !important;
        position: relative !important;
    }
    
    .requirement-card li::before {
        content: '•' !important;
        color: var(--primary-color) !important;
        font-weight: bold !important;
        position: absolute !important;
        left: 0 !important;
    }
    
    .routing-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 2rem !important;
    }
    
    .routing-actions .btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        min-height: 48px !important;
        font-weight: 600 !important;
        justify-content: center !important;
    }
    
    /* Current Servers Table Mobile */
    .current-servers {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    .current-servers h3 {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        margin-bottom: 1rem !important;
        color: var(--text-primary) !important;
        text-align: center !important;
    }
    
    .servers-table {
        overflow-x: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 8px !important;
        border: 1px solid rgba(71, 85, 105, 0.1) !important;
        background: white !important;
        display: block !important;
    }
    
    .table-header {
        display: none !important;
    }
    
    .table-row {
        display: block !important;
        padding: 1rem !important;
        border-bottom: 1px solid rgba(71, 85, 105, 0.1) !important;
        background: white !important;
    }
    
    .table-row:last-child {
        border-bottom: none !important;
    }
    
    .table-row > div {
        display: block !important;
        margin-bottom: 0.5rem !important;
        padding: 0.25rem 0 !important;
    }
    
    .table-row > div:before {
        content: attr(data-label) ': ' !important;
        font-weight: 600 !important;
        color: var(--text-primary) !important;
        display: inline-block !important;
        width: 100px !important;
    }
    
    .table-row > div:last-child {
        margin-bottom: 0 !important;
    }
    
    .status-badge {
        display: inline-block !important;
        padding: 0.25rem 0.75rem !important;
        border-radius: 12px !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .status-badge.permanent {
        background: #dcfce7 !important;
        color: #166534 !important;
    }
    
    .status-badge.warning {
        background: #fef3c7 !important;
        color: #92400e !important;
    }
    
    .status-badge.offline {
        background: #fee2e2 !important;
        color: #991b1b !important;
    }
    
    /* Channels/Network Stats Mobile Optimizations */
    .channels {
        padding: 60px 0 !important;
        background: var(--surface-color) !important;
    }
    
    .channels h2 {
        font-size: 2rem !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
        color: var(--text-primary) !important;
    }
    
    .network-stats {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        margin: 0 0 2rem 0 !important;
        box-sizing: border-box !important;
    }
    
    .stat-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        background: white !important;
        border-radius: 12px !important;
        border: 1px solid rgba(71, 85, 105, 0.1) !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    
    .stat-icon {
        width: 60px !important;
        height: 60px !important;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    .stat-icon i {
        font-size: 1.5rem !important;
        color: white !important;
    }
    
    .stat-info {
        flex: 1 !important;
    }
    
    .stat-info .stat-number {
        font-size: 2rem !important;
        font-weight: 700 !important;
        color: var(--text-primary) !important;
        margin-bottom: 0.25rem !important;
    }
    
    .stat-info .stat-label {
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: var(--text-secondary) !important;
        margin-bottom: 0.5rem !important;
    }
    
    .stat-info .stat-source {
        font-size: 0.8rem !important;
        color: var(--text-muted) !important;
    }
    
    .stat-info .stat-source a {
        color: var(--primary-color) !important;
        text-decoration: none !important;
    }
    
    .stat-info .stat-source a:hover {
        text-decoration: underline !important;
    }
    
    .channels-info {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        margin: 0 1rem !important;
        box-sizing: border-box !important;
        background: white !important;
        border-radius: 12px !important;
        border: 1px solid rgba(71, 85, 105, 0.1) !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    }
    
    .channels-info h3 {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        margin-bottom: 1rem !important;
        color: var(--text-primary) !important;
        text-align: center !important;
    }
    
    .channels-description {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: var(--text-secondary) !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
    }
    
    .monitoring-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .monitoring-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        background: rgba(71, 85, 105, 0.05) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(71, 85, 105, 0.1) !important;
        text-align: center !important;
    }
    
    .monitoring-card h4 {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.75rem !important;
        color: var(--text-primary) !important;
    }
    
    .monitoring-card p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: var(--text-secondary) !important;
        margin-bottom: 1rem !important;
    }
    
    .monitoring-card .btn {
        width: 100% !important;
        max-width: 200px !important;
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
        min-height: 44px !important;
        font-weight: 600 !important;
        justify-content: center !important;
    }
    
    /* Contact Section Mobile Optimizations */
    .contact {
        padding: 60px 0 !important;
        background: var(--surface-color) !important;
    }
    
    .contact h2 {
        font-size: 2rem !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
        color: var(--text-primary) !important;
    }
    
    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .contact-info {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    .contact-form {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    .contact-info h3 {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        margin-bottom: 1rem !important;
        color: var(--text-primary) !important;
        text-align: center !important;
    }
    
    .contact-info p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: var(--text-secondary) !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
    }
    
    .contact-methods {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .contact-method {
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
        padding: 1rem !important;
        background: white !important;
        border-radius: 12px !important;
        border: 1px solid rgba(71, 85, 105, 0.1) !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    }
    
    .contact-method i {
        width: 50px !important;
        height: 50px !important;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
        color: white !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.25rem !important;
        flex-shrink: 0 !important;
    }
    
    .contact-method div h4 {
        font-size: 1rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.25rem !important;
        color: var(--text-primary) !important;
    }
    
    .contact-method div p {
        font-size: 0.9rem !important;
        color: var(--text-secondary) !important;
        margin: 0 !important;
        text-align: left !important;
    }
    
    .contact-method div p a {
        color: var(--primary-color) !important;
        text-decoration: none !important;
    }
    
    .contact-method div p a:hover {
        text-decoration: underline !important;
    }
    
    .contact-form h3 {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        margin-bottom: 1rem !important;
        color: var(--text-primary) !important;
        text-align: center !important;
    }
    
    .contact-form form {
        background: white !important;
        padding: 1.5rem !important;
        border-radius: 12px !important;
        border: 1px solid rgba(71, 85, 105, 0.1) !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    }
    
    .form-group {
        margin-bottom: 1rem !important;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        padding: 0.75rem !important;
        border: 1px solid rgba(71, 85, 105, 0.2) !important;
        border-radius: 8px !important;
        font-size: 1rem !important;
        background: white !important;
        color: var(--text-primary) !important;
        box-sizing: border-box !important;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none !important;
        border-color: var(--primary-color) !important;
        box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.1) !important;
    }
    
    .form-group textarea {
        resize: vertical !important;
        min-height: 120px !important;
    }
    
    .contact-form .btn {
        width: 100% !important;
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        min-height: 48px !important;
        font-weight: 600 !important;
        justify-content: center !important;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
        color: white !important;
        border: none !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .contact-form .btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(71, 85, 105, 0.3) !important;
    }
    
    /* Servers Section Mobile Optimizations */
    .servers {
        padding: 60px 0 !important;
        background: var(--surface-color) !important;
    }
    
    .servers h2 {
        font-size: 2rem !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
        color: var(--text-primary) !important;
    }
    
    .servers-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        margin: 0 0 2rem 0 !important;
        box-sizing: border-box !important;
    }
    
    .server-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        background: white !important;
        border-radius: 12px !important;
        border: 1px solid rgba(71, 85, 105, 0.1) !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
        margin: 0 !important;
    }
    
    .server-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 1rem !important;
    }
    
    .server-card h3 {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        color: var(--text-primary) !important;
        margin: 0 !important;
    }
    
    .server-status {
        padding: 0.25rem 0.75rem !important;
        border-radius: 12px !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .server-status.online {
        background: #dcfce7 !important;
        color: #166534 !important;
    }
    
    .server-status.warning {
        background: #fef3c7 !important;
        color: #92400e !important;
    }
    
    .server-status.offline {
        background: #fee2e2 !important;
        color: #991b1b !important;
    }
    
    .server-details {
        margin-top: 1rem !important;
    }
    
    .server-details p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: var(--text-secondary) !important;
        margin-bottom: 0.5rem !important;
    }
    
    .server-details p:last-child {
        margin-bottom: 0 !important;
    }
    
    .server-details strong {
        color: var(--text-primary) !important;
        font-weight: 600 !important;
    }
    
    .connection-info {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        margin: 0 1rem !important;
        box-sizing: border-box !important;
        background: white !important;
        border-radius: 12px !important;
        border: 1px solid rgba(71, 85, 105, 0.1) !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    }
    
    .connection-info h3 {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        margin-bottom: 1rem !important;
        color: var(--text-primary) !important;
        text-align: center !important;
    }
    
    .connection-methods {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .connection-method {
        padding: 1rem !important;
        background: rgba(71, 85, 105, 0.05) !important;
        border-radius: 8px !important;
        border: 1px solid rgba(71, 85, 105, 0.1) !important;
        text-align: center !important;
    }
    
    .connection-method h4 {
        font-size: 1rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.5rem !important;
        color: var(--text-primary) !important;
    }
    
    .connection-method code {
        font-size: 0.85rem !important;
        background: rgba(71, 85, 105, 0.1) !important;
        padding: 0.5rem !important;
        border-radius: 4px !important;
        color: var(--text-primary) !important;
        font-family: 'Courier New', monospace !important;
        word-break: break-all !important;
    }
}

/* Notification/Toast Mobile Responsive */
@media (max-width: 768px) {
    .notification {
        right: 50% !important;
        transform: translateX(50%) !important;
        left: auto !important;
        width: calc(100% - 2rem) !important;
        max-width: 400px !important;
        margin: 0 1rem !important;
    }
}

@media (max-width: 480px) {
    .notification {
        right: 50% !important;
        transform: translateX(50%) !important;
        left: auto !important;
        width: calc(100% - 1rem) !important;
        max-width: 350px !important;
        margin: 0 0.5rem !important;
        top: 80px !important;
    }
    
    .notification-content {
        padding: 0.75rem !important;
        font-size: 0.9rem !important;
    }
    
    .notification-content i {
        font-size: 1rem !important;
    }
    
    .notification-close {
        font-size: 1.1rem !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px; /* iOS touch target minimum */
        padding: 0.875rem 1.5rem;
    }
    
    .cookie-btn {
        min-height: 40px;
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .cookie-toggle {
        width: 60px;
        height: 30px;
    }
    
    .cookie-toggle::after {
        width: 26px;
        height: 26px;
        top: 2px;
        left: 2px;
    }
    
    .cookie-toggle.active::after {
        transform: translateX(30px);
    }
    
    .nav-menu a {
        padding: 0.2rem 0.5rem !important;
        min-height: 32px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0.1rem 0 !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-content h1 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-container {
        gap: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
    }
    
    .stat {
        padding: 0.5rem;
    }
    
    .cookie-modal {
        padding: 0.5rem;
    }
    
    .cookie-modal-content {
        max-height: 95vh;
    }
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-banner-text {
        min-width: auto;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }
    
    .cookie-modal {
        padding: 1rem;
    }
    
    .cookie-modal-content {
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 0.75rem;
    }
    
    .cookie-banner-text h3 {
        font-size: 1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.8rem;
    }
    
    .cookie-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        min-width: 100px;
        min-height: 36px;
    }
    
    .cookie-modal {
        padding: 0.5rem;
    }
    
    .cookie-modal-content {
        max-height: 95vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 0.75rem;
    }
    
    .cookie-category {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}