/* VM6.co.uk - Custom Styles */
:root {
    --primary-dark: #111827;
    --primary-accent: #6366f1;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: #1e293b;
    --border-color: #334155;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: var(--primary-dark) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-accent) !important;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-accent) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    color: var(--text-light);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Top Header Bar - Fixed positioning */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #0f172a;
    border-bottom: 1px solid var(--border-color);
    padding: 0.4rem 0;
    font-size: 0.875rem;
    z-index: 1051; /* Higher than navbar */
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links-left,
.top-links-right {
    display: flex;
    gap: 1.5rem;
}

.top-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.top-link:hover {
    color: var(--primary-accent);
    text-decoration: none;
}

.top-link i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Adjust navbar positioning to account for top header */
.navbar.fixed-top {
    top: 40px; /* Height of top header */
}

/* Adjust hero sections and legal pages to account for both headers */
.hero,
.legal-hero,
.vps-hero,
.dedicated-hero,
.cpanel-hero {
    margin-top: 120px !important; /* Both headers combined */
}

/* Remove dropdown arrow */
.navbar-nav .nav-link::after,
.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    background: none;
}

.dropdown-item:hover {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-accent);
}

.dropdown-item:focus {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-accent);
}

.dropdown-divider {
    border-color: var(--border-color);
    margin: 0.5rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.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 1000 1000"><polygon fill="%236366f1" fill-opacity="0.05" points="0,1000 1000,0 1000,1000"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #5856eb;
    border-color: #5856eb;
    transform: translateY(-2px);
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Feature Cards */
.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-accent);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-accent), #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

/* Pricing Tables */
.pricing-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-accent);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin: 1rem 0;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.feature-list li i {
    color: var(--primary-accent);
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background-color: #0f172a;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-accent);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: var(--text-muted);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* VPS Page Specific Styles */
.vps-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 50%, var(--primary-dark) 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.vps-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 1000 1000"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%236366f1;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%236366f1;stop-opacity:0.05" /></linearGradient></defs><rect width="1000" height="1000" fill="url(%23grad1)"/></svg>');
}

.vps-stats {
    background-color: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--primary-accent);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.stat-item {
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    display: block;
}

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

.vps-plans {
    background-color: #0f172a;
}

.vps-plan-card {
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.vps-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    transition: left 0.5s ease;
}

.vps-plan-card:hover::before {
    left: 100%;
}

.vps-plan-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-accent);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.plan-period {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.spec-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.spec-label {
    color: var(--text-muted);
    font-weight: 500;
}

.spec-value {
    color: var(--text-light);
    font-weight: 600;
}

.sla-table {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.sla-table table {
    color: var(--text-light);
    margin-bottom: 0;
}

.sla-table th {
    background-color: var(--primary-accent);
    color: white;
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.sla-table td {
    padding: 1rem;
    border-color: var(--border-color);
    vertical-align: middle;
}

.sla-table .check-icon {
    color: #10b981;
    font-size: 1.2rem;
}

.sla-table .cross-icon {
    color: #ef4444;
    font-size: 1.2rem;
}

.location-badge {
    background: linear-gradient(135deg, var(--primary-accent), #8b5cf6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.tech-badge {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.25rem;
    display: inline-block;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--primary-accent);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

/* Dedicated Servers Page - Dark Table Styling */
.dedicated-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 76px;
}

.dedicated-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dedicated-hero .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* FORCE DARK TABLE BACKGROUNDS - This will override Bootstrap */
.pricing-table {
    background: #1a1d29 !important;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    margin: 3rem 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.pricing-table table,
.pricing-table .table {
    background: #1a1d29 !important;
    color: white !important;
    margin-bottom: 0;
}

.pricing-table th,
.pricing-table .table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none !important;
    padding: 1.2rem 1rem;
    font-size: 0.85rem;
}

.pricing-table td,
.pricing-table .table td {
    background: #1e293b !important;
    color: white !important;
    padding: 1.2rem 1rem;
    border-color: rgba(255,255,255,0.1) !important;
    vertical-align: middle;
    font-size: 0.95rem;
}

.pricing-table tbody tr,
.pricing-table .table tbody tr {
    background: #1e293b !important;
    color: white !important;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.pricing-table tbody tr:hover,
.pricing-table .table tbody tr:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.2) 100%) !important;
    border-left: 3px solid var(--primary-accent) !important;
    transform: translateX(2px);
}

.pricing-table tbody tr:nth-child(even),
.pricing-table .table tbody tr:nth-child(even) {
    background: rgba(0,0,0,0.8) !important;
}

.pricing-table tbody tr:nth-child(even):hover,
.pricing-table .table tbody tr:nth-child(even):hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.35) 0%, rgba(118, 75, 162, 0.25) 100%) !important;
}

.price-cell {
    font-weight: 700 !important;
    color: #fbbf24 !important;
    font-size: 1.2rem !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.server-name-cell {
    font-weight: 700 !important;
    color: #60a5fa !important;
    font-size: 1rem !important;
}

.spec-cell {
    color: #e5e7eb !important;
    font-weight: 500 !important;
}

.setup-cell {
    color: #9ca3af !important;
    font-style: italic;
}

/* Management Section Dark Background */
.management-section {
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.95) 0%, rgba(30, 35, 50, 0.9) 100%);
    border-radius: 15px;
    padding: 4rem 0;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.management-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.management-section .section-title h2 {
    color: white;
}

.management-section .section-title p {
    color: #e5e7eb;
}

.management-table {
    background: #1a1d29 !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    color: white;
}

.management-table table,
.management-table .table {
    background: #1a1d29 !important;
    color: white !important;
}

.management-table th,
.management-table .table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1.2rem 1rem;
    font-size: 0.85rem;
    border: none !important;
}

.management-table td,
.management-table .table td {
    background: #1e293b !important;
    color: #e5e7eb !important;
    padding: 1rem;
    border-color: rgba(255,255,255,0.1) !important;
    vertical-align: middle;
}

.management-table tbody tr,
.management-table .table tbody tr {
    background: #1e293b !important;
    transition: all 0.3s ease;
}

.management-table tbody tr:hover,
.management-table .table tbody tr:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.15) 100%) !important;
}

.management-table tbody tr:nth-child(even),
.management-table .table tbody tr:nth-child(even) {
    background: rgba(0,0,0,0.8) !important;
}

.management-table tbody tr:nth-child(even):hover,
.management-table .table tbody tr:nth-child(even):hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.2) 100%) !important;
}

.checkmark {
    color: #10b981 !important;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.cross {
    color: #ef4444 !important;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Info cards styling */
.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-accent);
    transition: transform 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Legal Content Background - Applied to ALL legal pages */
.legal-content {
    background: #1e293b !important; /* Updated to slate gray */
    color: white !important;
    border-radius: 15px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Override all text colors to white */
.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content p,
.legal-content li,
.legal-content ul,
.legal-content ol {
    color: white !important;
}

/* Company info section */
.company-info {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%) !important;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-accent);
}

.company-info h3 {
    color: #60a5fa !important;
    margin-bottom: 1rem;
}

.company-info p {
    color: #e5e7eb !important;
}

/* Terms sections */
.terms-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2) !important;
    scroll-margin-top: 120px;
}

.terms-section:last-child {
    border-bottom: none;
}

.terms-section h3 {
    color: #60a5fa !important;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.terms-section h4 {
    color: #e5e7eb !important;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
}

.terms-section p {
    color: #e5e7eb !important;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.terms-section ul {
    color: #e5e7eb !important;
    line-height: 1.7;
    padding-left: 2rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
    color: #e5e7eb !important;
}

/* Table of contents */
.toc {
    background: rgba(255,255,255,0.1) !important;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.toc h4 {
    color: #60a5fa !important;
    margin-bottom: 1.5rem;
}

.toc ul {
    list-style: none;
    padding: 0;
}

.toc li {
    margin: 0.5rem 0;
}

.toc a {
    color: #fbbf24 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc a:hover {
    color: #60a5fa !important;
}

/* Policy cards */
.policy-card {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.policy-card h5 {
    color: #60a5fa !important;
    margin-bottom: 1rem;
}

.policy-card p,
.policy-card ul,
.policy-card li {
    color: #e5e7eb !important;
}

/* Highlight box */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.highlight-box h4 {
    color: white !important;
    margin-bottom: 1rem;
}

.highlight-box p {
    color: rgba(255,255,255,0.9) !important;
    margin-bottom: 0;
}

.highlight-box a {
    color: rgba(255,255,255,0.9) !important;
}

/* Last updated section */
.last-updated {
    background: rgba(255,255,255,0.1) !important;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    color: #9ca3af !important;
    border: 1px solid rgba(255,255,255,0.2);
}

.last-updated p {
    color: #9ca3af !important;
    margin-bottom: 0;
}

/* Links within content */
.legal-content a {
    color: #fbbf24 !important;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #60a5fa !important;
}

/* Legal hero */
.legal-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 80px;
}

/* Right Sidebar Styling */
.right-sidebar {
    margin-top: 2rem;
}

.sidebar-box {
    background: #1e293b;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.box-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1.2rem 1.5rem;
    color: white;
}

.box-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.box-content {
    padding: 1.5rem;
    color: #e5e7eb;
}

.box-content p {
    color: #e5e7eb;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Social Media Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.social-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-item:hover {
    background: rgba(255,255,255,0.1);
    color: #60a5fa;
    text-decoration: none;
    transform: translateY(-2px);
}

.social-item i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
    color: #60a5fa;
}

/* Useful Links */
.useful-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.useful-links li {
    margin-bottom: 0.5rem;
}

.useful-links a {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    color: #e5e7eb;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.useful-links a:hover {
    background: rgba(255,255,255,0.08);
    color: #60a5fa;
    text-decoration: none;
    border-color: rgba(96, 165, 250, 0.3);
}

.useful-links a i {
    color: #60a5fa;
    width: 18px;
}

/* Company Information */
.company-details h5 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.company-details p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.contact-info {
    space-y: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    gap: 0.75rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: #60a5fa;
    font-size: 1rem;
    margin-top: 0.2rem;
    width: 18px;
    flex-shrink: 0;
}

.contact-item div {
    color: #e5e7eb;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-item strong {
    color: #60a5fa;
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-item a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* Policy Grid */
.content-header {
    margin-bottom: 2rem;
}

.content-header h2 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-header p {
    color: #e5e7eb;
    font-size: 1.1rem;
    line-height: 1.6;
}

.policy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.policy-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.policy-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.3);
}

.policy-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.policy-icon i {
    font-size: 1.5rem;
    color: white;
}

.policy-content h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.policy-content h4 a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-content h4 a:hover {
    color: #fbbf24;
}

.policy-content p {
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.policy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

/* cPanel Page Specific Styles */
.cpanel-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 50%, var(--primary-dark) 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.cpanel-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 1000 1000"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%236366f1;stop-opacity:0.08" /><stop offset="50%" style="stop-color:%2310b981;stop-opacity:0.05" /><stop offset="100%" style="stop-color:%236366f1;stop-opacity:0.08" /></linearGradient></defs><rect width="1000" height="1000" fill="url(%23grad1)"/></svg>');
}

.hosting-stats {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(16, 185, 129, 0.1));
    border: 1px solid var(--primary-accent);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.hosting-plans {
    background-color: #0f172a;
}

.hosting-plan-card {
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hosting-plan-card.popular {
    border-color: var(--primary-accent);
    transform: scale(1.05);
}

.hosting-plan-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.hosting-plan-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    transition: left 0.5s ease;
}

.hosting-plan-card:hover::after {
    left: 100%;
}

.hosting-plan-card:hover {
    transform: translateY(-10px);
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.hosting-plan-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.domain-included {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.spec-value.unlimited {
    color: #10b981;
    font-weight: 700;
}

.feature-checkmark {
    color: #10b981;
    font-size: 1.2rem;
}

.feature-cross {
    color: #ef4444;
    font-size: 1.2rem;
}

.cpanel-badge {
    background-color: rgba(245, 101, 101, 0.1);
    color: #f56565;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.25rem;
    display: inline-block;
}

.comparison-table {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: 3rem;
}

.comparison-table table {
    color: var(--text-light);
    margin-bottom: 0;
}

.comparison-table th {
    background-color: var(--primary-accent);
    color: white;
    font-weight: 600;
    padding: 1rem;
    border: none;
    text-align: center;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    padding: 1rem;
    border-color: var(--border-color);
    vertical-align: middle;
    text-align: center;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.price-highlight {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .top-header {
        display: none;
    }
    
    .navbar.fixed-top {
        top: 0;
    }
    
    .hero,
    .legal-hero,
    .vps-hero,
    .dedicated-hero,
    .cpanel-hero {
        margin-top: 80px !important;
    }
    
    html {
        scroll-padding-top: 80px;
    }
    
    .terms-section {
        scroll-margin-top: 80px;
    }
    

    
    .navbar-collapse .navbar-nav .dropdown.show .dropdown-menu {
        display: block !important;
    }
    
    .navbar-collapse .navbar-nav .dropdown-item {
        padding: 0.75rem 2rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid #334155 !important;
        font-size: 0.9rem !important;
        text-decoration: none !important;
    }
    
    .navbar-collapse .navbar-nav .dropdown-item:hover,
    .navbar-collapse .navbar-nav .dropdown-item:focus {
        background-color: rgba(99, 102, 241, 0.1) !important;
        color: #6366f1 !important;
    }
    
    .navbar-collapse .navbar-nav .dropdown-item:last-child {
        border-bottom: none !important;
    }
    
    .navbar-collapse .navbar-nav .dropdown-divider {
        display: none !important;
    }
    
    .navbar-collapse .navbar-nav .dropdown > .nav-link::after {
        content: '+' !important;
        display: inline-block !important;
        margin-left: 0.5rem !important;
        font-family: monospace !important;
        font-size: 1.2rem !important;
        line-height: 1 !important;
        transition: transform 0.2s ease !important;
    }
    
    .navbar-collapse .navbar-nav .dropdown.show > .nav-link::after {
        content: '−' !important;
    }
    
    .right-sidebar {
        margin-top: 3rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .pricing-card.featured,
    .hosting-plan-card.popular {
        transform: none;
        margin-top: 2rem;
    }
    
    .pricing-card.featured:hover,
    .hosting-plan-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .vps-hero,
    .cpanel-hero {
        padding: 5rem 0 4rem;
    }
    
    .plan-price {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .dedicated-hero h1 {
        font-size: 2.5rem;
    }
    
    .dedicated-hero .lead {
        font-size: 1.1rem;
    }
    
    .pricing-table {
        font-size: 0.9rem;
    }
    
    .legal-hero {
        padding: 100px 0 60px;
    }
    
    .top-header-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .top-links-left,
    .top-links-right {
        gap: 1rem;
    }
    
    .top-link {
        font-size: 0.8rem;
    }
    
    .policy-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .policy-icon {
        align-self: center;
    }
    
    .policy-tags {
        justify-content: center;
    }
    
    .sidebar-box {
        margin-bottom: 1.5rem;
    }
    
    .box-header {
        padding: 1rem 1.25rem;
    }
    
    .box-content {
        padding: 1.25rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .social-item {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .useful-links a {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
}
/* Hover-based dropdown */
.dropdown-hover {
    position: relative;
}

.dropdown-hover .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    z-index: 1000;
}

/* Desktop hover behavior */
@media (min-width: 992px) {
    .dropdown-hover:hover .dropdown-menu {
        display: block;
    }
}

/* Mobile tap behavior */
@media (max-width: 991px) {
    .dropdown-hover .nav-link::after {
        content: '+';
        margin-left: 0.5rem;
        font-family: monospace;
        font-size: 1.2rem;
    }
    
    .dropdown-hover.active .nav-link::after {
        content: '−';
    }
    
    .dropdown-hover.active .dropdown-menu {
        display: block;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    .dropdown-hover .dropdown-item {
        padding: 0.5rem 2rem;
        border-bottom: 1px solid var(--border-color);
    }
}
/* Mobile dropdown trigger */
.mobile-dropdown-trigger {
    cursor: pointer;
}

.mobile-dropdown-trigger::after {
    content: '+';
    margin-left: 0.5rem;
    font-family: monospace;
    font-size: 1.2rem;
}

.mobile-dropdown-trigger.active::after {
    content: '−';
}

.mobile-submenu {
    display: none;
}

.mobile-submenu.show {
    display: block !important;
    position: static !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.mobile-submenu.show .dropdown-item {
    padding: 0.75rem 2rem !important;
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-light) !important;
}

.mobile-submenu.show .dropdown-item:hover {
    background-color: rgba(99, 102, 241, 0.1) !important;
    color: var(--primary-accent) !important;
}

/* Desktop - restore normal link behavior */
@media (min-width: 992px) {
    .mobile-dropdown-trigger {
        display: none;
    }
    
    .nav-item.dropdown::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    

    .nav-item.dropdown:hover::after {
        color: var(--primary-accent);
    }
    
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}
.mobile-dropdown-toggle.active::after {
    content: ' −';
    font-family: monospace;
    font-size: 1.2rem;
}

.mobile-dropdown-toggle:not(.active)::after {
    content: ' +';
    font-family: monospace;
    font-size: 1.2rem;
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 991px) {
    .mobile-dropdown-menu .dropdown-item {
        padding: 0.75rem 2rem;
        color: var(--text-light);
        background: transparent;
        border: none;
        border-bottom: 1px solid var(--border-color);
        display: block;
        text-decoration: none;
    }
    
    .mobile-dropdown-menu .dropdown-item:hover {
        background-color: rgba(99, 102, 241, 0.1);
        color: var(--primary-accent);
    }
}

@media (min-width: 992px) {
    .mobile-dropdown-toggle::after {
        display: none;
    }
    
    /* Desktop dropdown behavior */
    .nav-item:hover .mobile-dropdown-menu {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        padding: 0.5rem 0;
        min-width: 200px;
        z-index: 1000;
    }
    
    .mobile-dropdown-menu .dropdown-item {
        padding: 0.75rem 1.5rem;
        color: var(--text-light);
    }
}