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

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #0a0a0a;
color: #e4e4e7;
line-height: 1.6;
overflow-x: hidden;
}

/* Background */
.bg-gradient {
position: fixed;
inset: 0;
z-index: -1;
background: linear-gradient(-45deg, #0f172a, #1e1b4b, #312e81, #1e293b);
background-size: 400% 400%;
animation: gradientMove 15s ease infinite;
}

.bg-overlay {
position: fixed;
inset: 0;
z-index: -1;
background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

@keyframes gradientMove {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}

/* Layout */
.container {
max-width: 1400px;
margin: 0 auto;
padding: 0 2rem;
}

/* Navigation */
.navbar {
background: rgba(15, 23, 42, 0.8);
backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
position: sticky;
top: 0;
z-index: 1000;
}

.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
height: 80px;
}

.logo {
display: flex;
align-items: center;
gap: 12px;
font-size: 1.25rem;
font-weight: 700;
color: #f8fafc;
text-decoration: none;
}

.logo-icon {
width: 36px;
height: 36px;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
}

.nav-menu {
display: flex;
list-style: none;
gap: 0.5rem;
}

.nav-link {
display: flex;
align-items: center;
padding: 0.75rem 1.5rem;
color: #94a3b8;
text-decoration: none;
font-weight: 500;
border-radius: 12px;
transition: all 0.3s ease;
}

.nav-link:hover {
color: #f8fafc;
background: rgba(255, 255, 255, 0.05);
transform: translateY(-2px);
}

.nav-link.active {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
color: #f8fafc;
border: 1px solid rgba(59, 130, 246, 0.3);
}

.mobile-menu-btn {
display: none;
background: none;
border: none;
color: #f8fafc;
font-size: 1.5rem;
cursor: pointer;
padding: 0.5rem;
border-radius: 8px;
}

/* Page Content */
.page-content {
display: none;
padding: 3rem 0;
}

.page-content.active {
display: block;
animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

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

.page-title {
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 800;
background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
background-size: 200% 200%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 1rem;
animation: gradientText 3s ease-in-out infinite alternate;
}

@keyframes gradientText {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}

.page-subtitle {
font-size: 1.25rem;
color: #94a3b8;
margin-bottom: 2rem;
}

/* Cards */
.card {
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 24px;
padding: 3rem;
backdrop-filter: blur(20px);
margin-bottom: 3rem;
position: relative;
overflow: hidden;
}

.card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
background-size: 200% 100%;
animation: gradientMove 3s ease infinite;
}

.card-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 2.5rem;
}

.card-icon {
width: 64px;
height: 64px;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.75rem;
color: white;
}

.card-title {
font-size: 1.75rem;
font-weight: 700;
color: #f8fafc;
}

/* Stats */
.stats-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin: 2rem 0;
}

.stat-item {
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
padding: 1.5rem;
text-align: center;
backdrop-filter: blur(10px);
transition: all 0.3s ease;
}

.stat-item:hover {
border-color: rgba(59, 130, 246, 0.3);
transform: translateY(-5px);
}

.stat-number {
font-size: 2rem;
font-weight: 700;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.stat-label {
color: #94a3b8;
font-size: 0.9rem;
margin-top: 0.5rem;
}

/* Features Grid */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin: 2rem 0;
}

.feature-badge {
background: rgba(15, 23, 42, 0.4);
border: 1px solid rgba(255, 255, 255, 0.08);
color: #e2e8f0;
padding: 0.75rem 1.5rem;
border-radius: 12px;
font-size: 0.9rem;
font-weight: 500;
text-align: center;
transition: all 0.3s ease;
}

.feature-badge:hover {
border-color: rgba(139, 92, 246, 0.3);
background: rgba(139, 92, 246, 0.1);
}

/* Forms */
.form {
display: grid;
gap: 2rem;
}

.input-group {
position: relative;
}

.input-label {
display: block;
margin-bottom: 0.75rem;
font-weight: 600;
color: #e2e8f0;
}

.input-field {
width: 100%;
padding: 1rem 1.5rem;
background: rgba(15, 23, 42, 0.8);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
color: #f8fafc;
font-size: 1rem;
font-family: 'SF Mono', Monaco, monospace;
transition: all 0.3s ease;
outline: none;
}

.input-field:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
background: rgba(15, 23, 42, 0.9);
}

.input-field::placeholder {
color: #64748b;
}

/* Buttons */
.btn {
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
color: white;
border: none;
padding: 1rem 2rem;
border-radius: 12px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
min-width: 180px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
text-decoration: none;
}

.btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

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

.btn-secondary {
background: linear-gradient(135deg, #10b981, #059669);
}

.btn-secondary:hover {
box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
}

.form-actions {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}

/* Loading */
.loading {
display: none;
text-align: center;
margin: 2rem 0;
}

.loading-spinner {
width: 48px;
height: 48px;
border: 3px solid rgba(59, 130, 246, 0.1);
border-top: 3px solid #3b82f6;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto 1rem;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.loading-text {
color: #94a3b8;
font-weight: 500;
}

/* Results */
.results-section {
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 24px;
padding: 3rem;
backdrop-filter: blur(20px);
display: none;
animation: fadeInScale 0.6s ease-out;
}

.results-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, #10b981, #059669, #0d9488);
background-size: 200% 100%;
animation: gradientMove 3s ease infinite;
}

@keyframes fadeInScale {
from { opacity: 0; transform: scale(0.95); }
to { opacity: 1; transform: scale(1); }
}

.results-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
flex-wrap: wrap;
gap: 1rem;
}

.results-count {
font-size: 1.5rem;
font-weight: 700;
color: #f8fafc;
display: flex;
align-items: center;
gap: 0.75rem;
}

.results-icon {
width: 32px;
height: 32px;
background: linear-gradient(135deg, #10b981, #059669);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
}

/* Table - FIXED FOR MOBILE SCROLLING */
.table-container {
background: rgba(15, 23, 42, 0.8);
border-radius: 16px;
overflow-x: auto; /* Enable horizontal scroll */
overflow-y: visible;
border: 1px solid rgba(255, 255, 255, 0.08);
/* Add webkit scrollbar styling */
scrollbar-width: thin;
scrollbar-color: rgba(59, 130, 246, 0.5) rgba(255, 255, 255, 0.1);
}

/* Webkit scrollbar styling */
.table-container::-webkit-scrollbar {
height: 8px;
}

.table-container::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
background: rgba(59, 130, 246, 0.5);
border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
background: rgba(59, 130, 246, 0.7);
}

.results-table {
width: 100%;
min-width: 600px; /* Minimum width to ensure table doesn't compress too much */
border-collapse: collapse;
}

.results-table th {
background: rgba(0, 0, 0, 0.4);
color: #e2e8f0;
padding: 1.5rem;
text-align: left;
font-weight: 600;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.05em;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
white-space: nowrap; /* Prevent header text wrapping */
}

.results-table td {
padding: 1.25rem 1.5rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
transition: all 0.2s ease;
white-space: nowrap; /* Prevent cell content wrapping */
}

.results-table tr:hover td {
background: rgba(59, 130, 246, 0.05);
}

.row-number {
font-weight: 600;
color: #3b82f6;
text-align: center;
min-width: 60px; /* Ensure number column has minimum width */
}

.domain-name {
font-family: 'SF Mono', Monaco, monospace;
color: #f8fafc;
cursor: pointer;
transition: all 0.2s ease;
min-width: 200px; /* Ensure domain column has minimum width */
}

.domain-name:hover {
color: #3b82f6;
text-decoration: underline;
}

.ip-address {
font-family: 'SF Mono', Monaco, monospace;
color: #94a3b8;
min-width: 120px; /* Ensure IP column has minimum width */
}

.date-time {
color: #10b981;
font-family: 'SF Mono', Monaco, monospace;
font-size: 0.85rem;
min-width: 100px; /* Ensure date column has minimum width */
}

/* Mobile scroll hint */
.scroll-hint {
display: none;
text-align: center;
color: #94a3b8;
font-size: 0.875rem;
margin-bottom: 1rem;
padding: 0.5rem;
background: rgba(59, 130, 246, 0.1);
border-radius: 8px;
}

/* Pagination */
.pagination {
display: flex;
justify-content: center;
align-items: center;
margin-top: 3rem;
gap: 1rem;
flex-wrap: wrap;
}

.pagination-btn {
background: linear-gradient(135deg, #374151, #1f2937);
color: #f9fafb;
border: 1px solid rgba(255, 255, 255, 0.08);
padding: 0.75rem 1.5rem;
border-radius: 10px;
cursor: pointer;
font-weight: 500;
transition: all 0.3s ease;
min-width: 120px;
}

.pagination-btn:hover:not(:disabled) {
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
border-color: #3b82f6;
}

.pagination-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
}

.pagination-info {
background: rgba(15, 23, 42, 0.8);
color: #e2e8f0;
padding: 0.75rem 1.5rem;
border-radius: 10px;
font-weight: 500;
border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-input-group {
display: flex;
align-items: center;
gap: 0.75rem;
background: rgba(15, 23, 42, 0.8);
padding: 0.75rem 1rem;
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.08);
color: #e2e8f0;
}

.page-input {
width: 60px;
padding: 0.5rem;
background: rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 6px;
text-align: center;
color: #f8fafc;
font-weight: 600;
}

/* Pricing */
.pricing-toggle {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
margin: 2rem 0 3rem 0;
}

.toggle-label {
color: #94a3b8;
font-weight: 500;
display: flex;
align-items: center;
gap: 0.5rem;
}

.toggle-switch {
position: relative;
width: 60px;
height: 30px;
}

.toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}

.slider {
position: absolute;
cursor: pointer;
inset: 0;
background: rgba(15, 23, 42, 0.8);
border: 1px solid rgba(59, 130, 246, 0.3);
border-radius: 30px;
transition: all 0.3s;
}

.slider::before {
position: absolute;
content: "";
height: 22px;
width: 22px;
left: 3px;
bottom: 3px;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
border-radius: 50%;
transition: all 0.3s;
}

input:checked + .slider::before {
transform: translateX(30px);
}

.discount-badge {
background: linear-gradient(135deg, #10b981, #059669);
color: white;
padding: 0.25rem 0.5rem;
border-radius: 6px;
font-size: 0.75rem;
font-weight: 600;
}

.pricing-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
margin: 3rem 0;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}

.pricing-card {
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 24px;
padding: 2.5rem;
backdrop-filter: blur(20px);
position: relative;
transition: all 0.3s ease;
overflow: hidden;
}

.pricing-card:hover {
transform: translateY(-8px);
border-color: rgba(59, 130, 246, 0.3);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
border-color: rgba(59, 130, 246, 0.5);
background: rgba(15, 23, 42, 0.8);
}

.pricing-card.popular::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
background-size: 200% 100%;
animation: gradientMove 3s ease infinite;
}

.popular-badge {
position: absolute;
top: -1px;
right: 2rem;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
color: white;
padding: 0.5rem 1rem;
border-radius: 0 0 12px 12px;
font-size: 0.875rem;
font-weight: 600;
}

.plan-header {
text-align: center;
margin-bottom: 2rem;
padding-bottom: 2rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-icon {
font-size: 3rem;
margin-bottom: 1rem;
}

.plan-name {
font-size: 1.5rem;
font-weight: 700;
color: #f8fafc;
margin-bottom: 1rem;
}

.plan-price {
display: flex;
align-items: baseline;
justify-content: center;
gap: 0.5rem;
margin-bottom: 1rem;
}

.price {
font-size: 3rem;
font-weight: 800;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.period {
color: #94a3b8;
font-size: 1rem;
font-weight: 500;
}

.plan-description {
color: #94a3b8;
line-height: 1.5;
}

.plan-features ul {
list-style: none;
margin-bottom: 2rem;
}

.plan-features li {
display: flex;
align-items: flex-start;
gap: 0.75rem;
padding: 0.75rem 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon {
width: 20px;
height: 20px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
font-weight: 700;
flex-shrink: 0;
margin-top: 0.125rem;
}

.feature-included .feature-icon {
background: linear-gradient(135deg, #10b981, #059669);
color: white;
}

.feature-excluded .feature-icon {
background: rgba(148, 163, 184, 0.2);
color: #64748b;
}

.feature-included {
color: #f8fafc;
}

.feature-excluded {
color: #64748b;
}

.btn-plan {
width: 100%;
margin-bottom: 0.75rem;
}

.trial-info {
color: #94a3b8;
font-size: 0.875rem;
text-align: center;
}

/* FAQ */
.faq-section {
margin: 4rem 0;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}

.faq-title {
font-size: 2rem;
font-weight: 700;
color: #f8fafc;
text-align: center;
margin-bottom: 3rem;
}

.faq-item {
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
backdrop-filter: blur(10px);
overflow: hidden;
margin-bottom: 1rem;
transition: all 0.3s ease;
}

.faq-question {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem;
cursor: pointer;
color: #f8fafc;
font-weight: 600;
}

.faq-toggle {
color: #3b82f6;
font-size: 1.5rem;
font-weight: 700;
transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
transform: rotate(45deg);
}

.faq-answer {
padding: 0 1.5rem;
max-height: 0;
overflow: hidden;
transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
max-height: 200px;
padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
color: #94a3b8;
line-height: 1.6;
}

/* Coming Soon */
.coming-soon {
text-align: center;
padding: 4rem 2rem;
color: #94a3b8;
}

.coming-soon-icon {
font-size: 5rem;
margin-bottom: 2rem;
opacity: 0.6;
}

.coming-soon h2 {
color: #f8fafc;
font-size: 2rem;
margin-bottom: 1rem;
font-weight: 700;
}

/* Error Messages */
.error {
background: linear-gradient(135deg, #dc2626, #b91c1c);
color: white;
padding: 1.5rem 2rem;
border-radius: 12px;
margin: 1.5rem 0;
text-align: center;
font-weight: 500;
}

.no-results {
text-align: center;
color: #94a3b8;
font-size: 1.2rem;
padding: 4rem 2rem;
}

/* Notifications */
.notification {
position: fixed;
top: 2rem;
right: 2rem;
max-width: 400px;
padding: 1rem 1.5rem;
border-radius: 12px;
backdrop-filter: blur(10px);
z-index: 10000;
font-weight: 500;
animation: slideInRight 0.3s ease-out;
}

.notification-success {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(5, 150, 105, 0.9));
border: 1px solid rgba(16, 185, 129, 0.3);
color: white;
}

.notification-error {
background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(185, 28, 28, 0.9));
border: 1px solid rgba(220, 38, 38, 0.3);
color: white;
}

.notification-info {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(29, 78, 216, 0.9));
border: 1px solid rgba(59, 130, 246, 0.3);
color: white;
}

@keyframes slideInRight {
from { transform: translateX(100%); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}

/* Footer */
.footer {
background: rgba(15, 23, 42, 0.8);
backdrop-filter: blur(20px);
border-top: 1px solid rgba(255, 255, 255, 0.08);
margin-top: 4rem;
padding: 3rem 0 2rem 0;
}

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

.footer-section h3 {
color: #f8fafc;
font-size: 1.2rem;
margin-bottom: 1.5rem;
font-weight: 700;
}

.footer-section p,
.footer-section li {
color: #94a3b8;
line-height: 1.7;
margin-bottom: 0.75rem;
}

.footer-section ul {
list-style: none;
}

.footer-section a {
color: #94a3b8;
text-decoration: none;
transition: all 0.2s ease;
}

.footer-section a:hover {
color: #3b82f6;
}

.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.08);
padding-top: 2rem;
text-align: center;
color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
.nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 3rem;
    transition: left 0.3s ease;
}

.nav-menu.active {
    left: 0;
}

.mobile-menu-btn {
    display: block;
}

.container {
    padding: 0 1rem;
}

.page-content {
    padding: 2rem 0;
}

.card {
    padding: 2rem;
}

.results-section {
    padding: 2rem;
}

.stats-container {
    grid-template-columns: 1fr;
}

.pricing-grid {
    grid-template-columns: 1fr;
}

.pagination {
    flex-direction: column;
    gap: 1rem;
}

/* Show scroll hint on mobile */
.scroll-hint {
    display: block;
}

/* Adjust table container for mobile */
.table-container {
    margin: 0 -1rem; /* Extend to screen edges on mobile */
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.results-table {
    min-width: 500px; /* Smaller minimum width for mobile */
}

/* Adjust table padding for mobile */
.results-table th,
.results-table td {
    padding: 1rem 0.75rem;
}

/* Adjust table for very small screens but keep all columns visible */
@media (max-width: 480px) {
    .results-table {
        min-width: 500px; /* Keep minimum width to show all columns */
    }
    
    .results-table th,
    .results-table td {
        padding: 0.75rem 0.5rem; /* Reduce padding further on small screens */
        font-size: 0.85rem; /* Slightly smaller font */
    }
    
    .date-time {
        font-size: 0.75rem; /* Even smaller font for date column */
    }
}
}
