/* Professional Hosting Theme - Dark Navy & Blue */
/* Importing Hosting Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Termius-inspired Palette: Deep Dark, Electric Accents */
    --primary: #6366f1;
    /* Indigo 500 */
    --primary-gradient: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    /* Indigo 400 -> 500 */
    --primary-glow: rgba(99, 102, 241, 0.4);

    --secondary: #94a3b8;
    /* Slate 400 */

    --accent: #22d3ee;
    /* Cyan 400 */
    --accent-gradient: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);

    /* Backgrounds: Almost Black, Deep and Rich */
    --bg: #020617;
    /* Slate 950 */
    --bg-dark: #000000;

    /* Surface: Dark, Sleek, Subtle Borders */
    --surface: #0f172a;
    /* Slate 900 */
    --surface-highlight: rgba(255, 255, 255, 0.05);
    --surface-shadow: rgba(0, 0, 0, 0.5);

    /* Glass Panels */
    --glass-bg: rgba(15, 23, 42, 0.6);
    /* Darker glass */
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    /* More subtle border */
    --glass-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.5),
        0 4px 6px -2px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    --border: rgba(255, 255, 255, 0.08);

    --text: #f8fafc;
    /* Slate 50 */
    --text-muted: #64748b;
    /* Slate 500 */

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    /* Deep Radial: Center glow fading to deep black/indigo */
    background: radial-gradient(circle at 50% 0%, #1e1b4b 0%, #020617 80%);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* Ambient Background Glows - More Subtle & colorful */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: 20%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: 10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

/* New Utility: Gradient Text */
.text-gradient {
    /* Utility still available for other elements */
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.btn,
.plan-price {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

/* Global Gradient for H1 and Brand */
h1,
.brand {
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
    margin-bottom: 1rem;
}

h1,
h2,
h3 {
    /* Subtle text depth */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

p,
input,
td,
th,
label,
.text-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar - Floating Glass Bar */
.navbar {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, white 0%, #cbd5e1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 3D Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    /* 3D Effect */
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        /* Top highlight */
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    /* Bottom bevel */
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 15px -3px rgba(59, 130, 246, 0.4),
        0 4px 6px -2px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    filter: brightness(1.1);
}

.btn:active {
    transform: translateY(1px);
    box-shadow:
        0 2px 4px -1px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Inner shadow for press */
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.6);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* 3D Cards & Glass Panels */
.card,
.glass-panel {
    background: var(--surface);
    /* Gradient Surface */
    background: linear-gradient(145deg, #1e293b, #0f172a);

    border-radius: 1.5rem;
    padding: 2rem;

    color: var(--text);
    position: relative;
    overflow: hidden;

    /* The 3D Pop Shadow & Border */
    border: 1px solid transparent;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.3),
        0 4px 6px -2px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    /* Inner Top Highlight */
}

/* Glass Variant override */
.glass-panel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hover Lift Effect for Cards acting as links */
a.card {
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a.card:hover {
    transform: translateY(-10px) !important;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.4),
        0 10px 10px -5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Icon Containers in Cards */
.card .icon-pop {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow:
        0 4px 6px -1px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: white !important;
    /* Force icon white */
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* 3D Inputs */
input,
textarea,
select,
.input {
    width: 100%;
    padding: 0.875rem 1rem;

    /* Slight inset look for inputs */
    background: #020617 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;

    color: var(--text) !important;
    /* Fixed: White text on dark bg */
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;

    transition: all 0.2s ease;

    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

input:focus,
textarea:focus,
select:focus,
.input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(59, 130, 246, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Data Tables - Rounded & Integrated */
.table {
    width: 100%;
    border-collapse: separate;
    /* Required for border-radius on rows */
    border-spacing: 0 0.5rem;
    /* Gap between rows */
}

.table th {
    text-align: left;
    padding: 1rem 1.5rem;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border: none;
}

.table tbody tr {
    background: rgba(30, 41, 59, 0.4);
    transition: transform 0.2s, background 0.2s;
}

.table tbody tr:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: scale(1.01);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.table td {
    padding: 1.25rem 1.5rem;
    border: none;
    color: var(--text-muted);
}

/* First/Last Radius for rows */
.table tbody tr td:first-child {
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.table tbody tr td:last-child {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}


/* Utility - Status Badges */
.badge-3d {
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Page Header */
.page-header-3d h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, white 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Toggle Switch Revamp */
.form-check-input {
    background-color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 3.5rem !important;
    height: 1.75rem !important;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
    transition: background-position .15s ease-in-out, background-color .25s ease-in-out !important;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.btn,
.plan-price {
    font-family: 'Outfit', sans-serif;
    /* Modern Hosting Heading Font */
    letter-spacing: -0.5px;
    /* Tighter tracking for modern look */
}

p,
input,
td,
th,
label,
.text-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.6);
    /* More transparent */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Underline slide effect for non-btn links */
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn)::hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);

    /* Animation Properties */
    position: relative;
    overflow: hidden;
}

/* Shine Effect */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
    color: white;
}

.btn:active {
    transform: scale(0.95);
    /* Click press effect */
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Cards & Glass */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    /* Added Blur */
    color: var(--text);
}

.glass-panel {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.3) 0%, rgba(15, 23, 42, 0.3) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FIX: Force white text on all inputs */
input,
textarea,
select,
.input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff !important;
    /* White background for readability */
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: #1f2937 !important;
    /* Dark Text */
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.2s;
}

input:focus,
textarea:focus,
select:focus,
.input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Hero Section */
.hero {
    padding: 6rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Domain Search */
.domain-search {
    background: var(--surface-glass);
    padding: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    max-width: 600px;
    margin: 0 auto 4rem;
    backdrop-filter: blur(4px);
}

.domain-search input {
    background: transparent !important;
    /* Keep search transparent if desired, or override */
    border: none;
    padding: 0 1.5rem;
    font-size: 1.1rem;
    color: white !important;
    /* Override global input black for this specific dark search bar */
}

.domain-search input:focus {
    box-shadow: none;
    background: transparent !important;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-card {
    background: rgba(15, 23, 42, 0.3);
    /* Transparent */
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-name {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: bold;
}

.plan-price span {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: normal;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.features-list li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

/* Features Grid */
.features-section {
    padding: 6rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.01);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer & Utils */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.badge {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    text-align: left;
    padding: 1rem;
    color: var(--secondary);
    border-bottom: 1px solid var(--border);
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}