/* ============================================
   IPPTR DNS Experts - DNS Management Platform
   Dark Theme Professional Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2235;
    --bg-card-hover: #1f2b42;
    --bg-navbar: rgba(10, 14, 23, 0.95);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-pink: #ec4899;
    --accent-red: #ef4444;
    --accent-teal: #14b8a6;
    --border-color: #1e293b;
    --border-light: #2d3a4f;
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-secondary: linear-gradient(135deg, #06b6d4, #3b82f6);
    --gradient-accent: linear-gradient(135deg, #8b5cf6, #ec4899);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.3);
    --shadow-glow-purple: 0 0 20px rgba(139, 92, 246, 0.3);
    --shadow-glow-cyan: 0 0 20px rgba(6, 182, 212, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 15px;
}

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

a:hover {
    color: var(--accent-cyan);
}

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

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.text-gradient {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #06b6d4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-pink {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-orange {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-red {
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ---------- Navbar ---------- */
.navbar {
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 0;
    transition: var(--transition);
    z-index: 1050;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.4rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-brand .brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.navbar-brand .brand-name {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand .brand-tagline {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    -webkit-text-fill-color: var(--text-muted);
}

/* Legacy span fallback */
.navbar-brand > span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background-image: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
}

.navbar-dark .navbar-nav .nav-link.active {
    background-image: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
}

.navbar-dark .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    border-radius: 3px;
}

/* Dropdown toggle caret color fix */
.navbar-dark .navbar-nav .dropdown-toggle::after {
    border-top-color: var(--text-secondary);
    transition: var(--transition);
}
.navbar-dark .navbar-nav .dropdown-toggle:hover::after,
.navbar-dark .navbar-nav .dropdown-toggle.active::after {
    border-top-color: var(--accent-blue);
}

.dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 240px;
    margin-top: 0.5rem;

}

/* ---------- Mega Dropdown Menu ---------- */
.dropdown-mega {
    position: static;
}

.dropdown-menu-mega {
    width: 100%;
    max-width: 900px;
    left: 50% !important;
    transform: translateX(-50%);
    padding: 0;
    border-radius: var(--radius-lg);
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 1.25rem;
}

.mega-col {
    padding: 0 0.75rem;
    border-right: 1px solid var(--border-color);
}

.mega-col:last-child {
    border-right: none;
}

.mega-heading {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    padding: 0.4rem 0.75rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mega-heading i {
    font-size: 0.8rem;
}

.mega-col .dropdown-item,
.dropdown-menu .dropdown-item {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
}

.mega-col .dropdown-item {
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    color: #fff !important;
    background: rgba(59, 130, 246, 0.1) !important;
}

.dropdown-menu .dropdown-item i {
    -webkit-text-fill-color: unset !important;
}

.mega-footer {
    border-top: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    text-align: center;
    background: rgba(59, 130, 246, 0.03);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

@media (max-width: 991px) {
    .dropdown-menu-mega {
        position: static !important;
        transform: none;
        max-width: 100%;
        width: 100%;
    }
    .mega-menu-inner {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .mega-col {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0.5rem 0;
    }
    .mega-col:last-child {
        border-bottom: none;
    }
}
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

/* Divided dropdown - equal dividers between every item */
.dropdown-menu-divided .dropdown-item {
    border-bottom: 1px solid var(--border-color);
    margin: 0;
    border-radius: 0;
    padding: 0.65rem 1rem;
}

.dropdown-menu-divided li:last-child .dropdown-item {
    border-bottom: none;
}

.dropdown-menu-divided li:first-child .dropdown-item {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.dropdown-menu-divided li:last-child .dropdown-item {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.navbar-toggler {
    border: 1px solid var(--border-light);
    padding: 0.4rem 0.7rem;
}

.navbar-toggler-icon {
    filter: invert(1);
}

.nav-cta {
    background: linear-gradient(135deg, #f59e0b, #ef4444) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    padding: 0.55rem 1.6rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    margin-left: 0.5rem;
    letter-spacing: 0.3px;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-blue);
    -webkit-text-fill-color: #fff !important;
}

.nav-cta i {
    -webkit-text-fill-color: #fff !important;
}

/* Nav link icons should inherit gradient */
.navbar-dark .navbar-nav .nav-link i {
    -webkit-text-fill-color: initial;
}

/* ---------- Hero Section ---------- */
.hero-section {
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* hero-section::before is handled by hero-bg-image */

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite linear;
}

.hero-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 12s; }
.hero-particle:nth-child(2) { left: 30%; top: 60%; animation-delay: 2s; animation-duration: 18s; background: var(--accent-purple); }
.hero-particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 4s; animation-duration: 14s; background: var(--accent-cyan); }
.hero-particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 6s; animation-duration: 16s; background: var(--accent-green); }
.hero-particle:nth-child(5) { left: 90%; top: 40%; animation-delay: 8s; animation-duration: 20s; background: var(--accent-pink); }
.hero-particle:nth-child(6) { left: 20%; top: 80%; animation-delay: 1s; animation-duration: 13s; }
.hero-particle:nth-child(7) { left: 60%; top: 10%; animation-delay: 3s; animation-duration: 17s; background: var(--accent-orange); }
.hero-particle:nth-child(8) { left: 80%; top: 55%; animation-delay: 5s; animation-duration: 15s; background: var(--accent-teal); }

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 560px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 0;
    border-top: none;
}

.hero-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    margin: 2.5rem 0 2rem;
}

.hero-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    text-align: center;
    flex: 1;
    transition: var(--transition);
}

.hero-stat:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-stat h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.hero-stat p {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

/* Hero Full-Width Background Image */
.hero-bg-image {
    position: relative;
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: block !important;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 23, 0.75);
    z-index: 1;
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    z-index: 2;
}

.hero-bg-image > .hero-particles {
    position: relative;
    z-index: 2;
}

.hero-bg-image > .container {
    position: relative;
    z-index: 3;
}

/* ---------- Buttons ---------- */
.btn-primary-gradient {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
    color: #fff;
}

.btn-outline-light-custom {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-light-custom:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-sm-custom {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

.btn-details {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-details:hover {
    background: var(--accent-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

/* ---------- Section Styles ---------- */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-sm {
    padding: 4rem 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-badge-green {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: var(--accent-green);
}

.section-badge-orange {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
    color: var(--accent-orange);
}

.section-badge-pink {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.25);
    color: var(--accent-pink);
}

.section-badge-purple {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.25);
    color: var(--accent-purple);
}

.section-badge-red {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
    color: var(--accent-red);
}

.section-badge-cyan {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.25);
    color: var(--accent-cyan);
}

/* Colorful primary button variant */
.btn-orange-gradient {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-orange-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    color: #fff;
}

.btn-green-gradient {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-green-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    color: #fff;
}

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

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---------- Service Cards ---------- */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    opacity: 0.15;
    z-index: -1;
}

.icon-blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.icon-blue::after { background: var(--accent-blue); }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.icon-cyan::after { background: var(--accent-cyan); }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.icon-purple::after { background: var(--accent-purple); }
.icon-green { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.icon-green::after { background: var(--accent-green); }
.icon-orange { background: rgba(245, 158, 11, 0.15); color: var(--accent-orange); }
.icon-orange::after { background: var(--accent-orange); }
.icon-pink { background: rgba(236, 72, 153, 0.15); color: var(--accent-pink); }
.icon-pink::after { background: var(--accent-pink); }
.icon-red { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
.icon-red::after { background: var(--accent-red); }
.icon-teal { background: rgba(20, 184, 166, 0.15); color: var(--accent-teal); }
.icon-teal::after { background: var(--accent-teal); }

.service-card h4 {
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.service-card .btn-details {
    margin-top: auto;
}

/* ---------- Feature Cards ---------- */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.feature-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---------- Stats Section ---------- */
.stats-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

/* ---------- Why Choose Section ---------- */
.why-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.why-card h4 {
    margin-bottom: 0.75rem;
}

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

/* ---------- DNS Lookup Tool ---------- */
.dns-lookup-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.dns-lookup-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.dns-input-group {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.dns-input-group .form-control {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.85rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
}

.dns-input-group .form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow-blue);
    outline: none;
}

.dns-input-group .form-control::placeholder {
    color: var(--text-muted);
}

.dns-record-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.dns-record-btn {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.dns-record-btn:hover,
.dns-record-btn.active {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand .brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.footer-brand h4 {
    font-weight: 800;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

.footer h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

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

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--accent-blue);
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

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

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

/* ---------- Page Header (Internal Pages) ---------- */
.page-header {
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.page-breadcrumb a {
    color: var(--text-muted);
}

.page-breadcrumb a:hover {
    color: var(--accent-blue);
}

.page-breadcrumb .separator {
    color: var(--text-muted);
}

.page-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-description {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 650px;
    line-height: 1.8;
}

/* ---------- Service Detail Page ---------- */
.service-detail-features {
    padding: 5rem 0;
}

.detail-feature-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.detail-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.detail-feature-content h5 {
    font-weight: 700;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.detail-feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.7;
}

/* ---------- Sub Features List ---------- */
.sub-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.sub-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sub-features li i {
    color: var(--accent-green);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ---------- Data Center Grid ---------- */
.dc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dc-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-lg);
}

.dc-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.dc-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.dc-card > p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.dc-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.dc-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.6rem 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-color);
}

.dc-features li:last-child {
    border-bottom: none;
}

.dc-features li i {
    color: var(--accent-green);
    margin-top: 3px;
    flex-shrink: 0;
}

.dc-card .btn-details {
    align-self: flex-start;
}

/* ---------- Contact Page ---------- */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1.25rem;
}

.contact-form .form-control,
.contact-form .form-select {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.8rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
}

.contact-form label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* ---------- About Page ---------- */
.about-values .why-card {
    padding: 2rem;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--accent-blue);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
}

.timeline-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.timeline-item h5 {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.timeline-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---------- Network Map ---------- */
.network-map {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.network-map::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    border-radius: 50%;
}

.network-locations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.network-location {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.network-location i {
    color: var(--accent-green);
    font-size: 0.6rem;
}

.pop-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .hero-title { font-size: 2.75rem; }
    .section-title { font-size: 2.25rem; }
}

@media (max-width: 991px) {
    .hero-section { min-height: auto; padding: 7rem 0 4rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-stats { gap: 2rem; }
    .floating-card { display: none; }
    .section { padding: 4rem 0; }
    .section-title { font-size: 2rem; }
    .page-title { font-size: 2.25rem; }

    .navbar-collapse {
        background: var(--bg-card);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-md);
        padding: 1rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.75rem; }
    .page-title { font-size: 1.85rem; }
    .page-header { padding: 6rem 0 3rem; }
    .dns-lookup-box { padding: 2rem; }
    .dns-input-group { flex-direction: column; }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }

    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .cta-title { font-size: 2rem; }
}

@media (max-width: 575px) {
    .hero-title { font-size: 1.75rem; }
    .hero-badge { font-size: 0.75rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-badge { font-size: 0.7rem; }
    .stat-number { font-size: 2rem; }
}

/* ---------- Animations on Scroll ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

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

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ---------- Misc ---------- */
.bg-grid-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233b82f6' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.divider {
    height: 1px;
    background: var(--border-color);
    margin: 2rem 0;
}

.icon-list {
    list-style: none;
    padding: 0;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.icon-list li i {
    color: var(--accent-green);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Glow effects for hover */
.glow-blue:hover { box-shadow: var(--shadow-glow-blue); }
.glow-purple:hover { box-shadow: var(--shadow-glow-purple); }
.glow-cyan:hover { box-shadow: var(--shadow-glow-cyan); }

/* ---------- Pricing Cards ---------- */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.pricing-header {
    padding: 2rem 1.75rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.pricing-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.pricing-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.pricing-header i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.pricing-header h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 2;
    color: #fff;
}

.pricing-header p {
    font-size: 0.82rem;
    opacity: 0.85;
    margin: 0;
    position: relative;
    z-index: 2;
}

.pricing-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.pricing-features li {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--accent-green);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-btn {
    display: block;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #fff;
}

.pricing-btn-outline {
    display: block;
    text-align: center;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    text-decoration: none;
}

.pricing-btn-outline:hover {
    border-color: var(--accent-blue);
    color: #fff;
    background: rgba(59,130,246,0.1);
}

/* ---------- Tool Pages (DNS Tools + Blacklist Checker) ---------- */
.tool-hero {
    padding: 7rem 0 3rem;
    position: relative;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.04) 0%, var(--bg-primary) 100%);
}

.tool-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.tool-hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto 0.5rem;
    line-height: 1.7;
}

.tool-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    max-width: 780px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.tool-input-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.tool-input-wrap {
    flex: 1;
    position: relative;
}

.tool-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.tool-input {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-primary) !important;
    padding: 0.8rem 1rem 0.8rem 2.5rem !important;
    border-radius: 50px !important;
    font-size: 0.95rem !important;
    height: auto !important;
}

.tool-input:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.tool-input::placeholder {
    color: var(--text-muted) !important;
}

.tool-btn {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

.tool-btn:disabled {
    opacity: 0.7;
    transform: none;
    cursor: not-allowed;
}

.tool-btn-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.tool-btn-red:hover {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.tool-record-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.tool-results-wrap {
    max-width: 900px;
    margin: 1.5rem auto 0;
}

.tool-loading {
    text-align: center;
    padding: 2.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

@media (max-width: 767px) {
    .tool-hero { padding: 5.5rem 0 2rem; }
    .tool-hero-title { font-size: 1.85rem; }
    .tool-box { padding: 1.25rem; }
    .tool-input-row { flex-direction: column; }
    .tool-btn { width: 100%; justify-content: center; }
}

/* ---------- DNS Lookup Results ---------- */
.dns-results {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.dns-results-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dns-query-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dns-table {
    color: var(--text-primary);
    margin-bottom: 0;
    font-size: 0.88rem;
}

.dns-table thead th {
    background: rgba(59, 130, 246, 0.08);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 1rem;
    white-space: nowrap;
}

.dns-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.dns-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.04);
}

.dns-table tbody tr:last-child td {
    border-bottom: none;
}

.dns-host {
    color: var(--accent-cyan);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.dns-value {
    color: var(--text-primary);
    word-break: break-all;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    max-width: 450px;
}

.dns-ttl {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.dns-type-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.dns-type-a     { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.dns-type-aaaa  { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.dns-type-cname { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.dns-type-mx    { background: rgba(245, 158, 11, 0.15); color: var(--accent-orange); }
.dns-type-ns    { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.dns-type-txt   { background: rgba(236, 72, 153, 0.15); color: var(--accent-pink); }
.dns-type-soa   { background: rgba(20, 184, 166, 0.15); color: var(--accent-teal); }
.dns-type-srv   { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.dns-type-caa   { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
.dns-type-ptr   { background: rgba(245, 158, 11, 0.15); color: var(--accent-orange); }

.dns-priority {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-orange);
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 6px;
}

.dns-extra {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.dns-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 1.25rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-sm);
    color: var(--accent-red);
    font-size: 0.9rem;
}

/* ---------- Page Illustration SVG ---------- */
.page-illustration {
    max-width: 100%;
    height: auto;
}

.page-illustration svg {
    width: 100%;
    height: auto;
    max-height: 400px;
}

.illustration-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Inline SVG illustrations */
.svg-illustration {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 480px;
    height: auto;
}

@media (max-width: 991px) {
    .illustration-container {
        display: none;
    }
    .illustration-container.mobile-show {
        display: flex;
        margin-bottom: 2rem;
    }
}

/* ---------- Data Center Overview Grid ---------- */
.dc-overview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.dc-overview-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-lg);
}

.dc-overview-card .dc-icon {
    margin: 0 auto 1.25rem;
}

.dc-overview-card h4 {
    margin-bottom: 0.75rem;
}

.dc-overview-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

/* ---------- IP Blacklist Checker ---------- */
.bl-summary {
    display: block;
}

.bl-summary-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 14px;
}

.bl-summary-card.status-clean,
.bl-summary-card.status-warning,
.bl-summary-card.status-critical {
    /* Same base style as other cards — no special border/bg overrides */
}

.bl-summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
}

.bl-summary-icon.icon-blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
}

.bl-summary-icon.icon-red {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

.bl-summary-icon.icon-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-orange);
}

.bl-summary-text {
    display: flex;
    flex-direction: column;
}

.bl-summary-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.bl-summary-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.bl-results {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.bl-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.bl-results-legend {
    display: flex;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.bl-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bl-results-body {
    /* Show all results — no scroll */
}

/* Individual result row */
.bl-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.7rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.88rem;
}

.bl-row:last-child {
    border-bottom: none;
}

.bl-row:hover {
    background: rgba(59, 130, 246, 0.03);
}

/* Clean row */
.bl-row.bl-clean .bl-status-icon {
    color: var(--accent-green);
}

/* Listed (blacklisted) row */
.bl-row.bl-listed {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}

.bl-row.bl-listed:hover {
    background: rgba(239, 68, 68, 0.1);
}

.bl-row.bl-listed .bl-status-icon {
    color: var(--accent-red);
}

.bl-row.bl-listed .bl-name {
    color: var(--accent-red);
    font-weight: 700;
}

.bl-status-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.bl-name {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 180px;
}

.bl-dnsbl {
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    flex-grow: 1;
}

.bl-category {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    flex-shrink: 0;
}

.bl-row.bl-listed .bl-category {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

.bl-reason {
    width: 100%;
    font-size: 0.78rem;
    color: var(--text-muted);
    padding-left: 36px;
    padding-top: 4px;
    word-break: break-word;
}

.bl-listed-badge {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bl-clean-badge {
    color: var(--accent-green);
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Progress bar */
.bl-progress-bar {
    width: 100%;
    max-width: 400px;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
}

.bl-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

@media (max-width: 767px) {
    .bl-row {
        flex-wrap: wrap;
        gap: 6px;
    }
    .bl-name {
        min-width: auto;
    }
    .bl-dnsbl {
        width: 100%;
        padding-left: 36px;
    }
    .bl-results-legend {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================
   PROFESSIONAL IMAGES & PHOTO SECTIONS
   ============================================ */

/* ---------- Image Cards ---------- */
.img-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    background: var(--bg-card);
}

.img-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15), 0 4px 20px rgba(0,0,0,0.4);
    border-color: rgba(59, 130, 246, 0.4);
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.img-card:hover img {
    transform: scale(1.06);
}

/* Overlay gradient - strong bottom for text readability */
.img-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.5) 45%, transparent 100%);
    z-index: 2;
}

.img-card-overlay h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: #fff;
    letter-spacing: 0.2px;
}

.img-card-overlay p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Blue accent line on bottom */
.img-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 3;
    opacity: 0;
    transition: var(--transition);
}

.img-card:hover::after {
    opacity: 1;
}

/* ---------- Image Grid / Gallery ---------- */
.img-gallery {
    display: grid;
    gap: 0.75rem;
}

/* 2-column gallery */
.img-gallery-2 {
    grid-template-columns: 1fr 1fr;
}

.img-gallery-2 .img-card {
    height: 240px;
}

/* 3-column gallery */
.img-gallery-3 {
    grid-template-columns: repeat(3, 1fr);
}

.img-gallery-3 .img-card {
    height: 220px;
}

/* Mixed: large left + 2 stacked right */
.img-gallery-mixed {
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 155px 155px;
    gap: 0.75rem;
}

.img-gallery-mixed .img-card {
    height: 100%;
    min-height: 0;
}

.img-gallery-mixed .img-card:first-child {
    grid-row: 1 / 3;
}

/* ---------- Feature Image Strip (horizontal row) ---------- */
.feature-img-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.feature-img-strip .img-card {
    height: 200px;
}

/* ---------- Image section spacing ---------- */
.img-section {
    padding: 2rem 0;
}

/* ---------- Responsive Images ---------- */
@media (max-width: 1199px) {
    .feature-img-strip {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .feature-img-strip::-webkit-scrollbar { display: none; }
    .feature-img-strip .img-card {
        flex: 0 0 240px;
        height: 180px;
    }
}

@media (max-width: 991px) {
    .img-gallery-mixed {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px;
    }
    .img-gallery-mixed .img-card:first-child {
        grid-row: auto;
    }
    .img-gallery-mixed .img-card:last-child {
        display: none;
    }
    .img-gallery-3 .img-card {
        height: 190px;
    }
}

@media (max-width: 767px) {
    .img-gallery-2 {
        grid-template-columns: 1fr;
    }
    .img-gallery-2 .img-card {
        height: 200px;
    }
    .img-gallery-3 {
        grid-template-columns: 1fr 1fr;
    }
    .img-gallery-3 .img-card {
        height: 170px;
    }
    .img-gallery-mixed {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .img-gallery-mixed .img-card {
        height: 180px;
    }
    .img-gallery-mixed .img-card:last-child {
        display: block;
    }
    .feature-img-strip .img-card {
        flex: 0 0 200px;
        height: 160px;
    }
}

@media (max-width: 575px) {
    .img-gallery-3 {
        grid-template-columns: 1fr;
    }
    .img-gallery-3 .img-card,
    .img-gallery-2 .img-card {
        height: 180px;
    }
}
