/* NetSentry Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;800&display=swap');

:root {
    /* Color Palette */
    --primary-navy: #1C2B47;
    --primary-bg: #F9FAFB;
    --card-bg: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --accent-blue: #2563EB;
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --danger-red: #EF4444;

    /* Charts Colors */
    --chart-navy: #1C2B47;
    --chart-grey: #9CA3AF;
    --chart-blue-light: #E0E7FF;

    /* Spacing & Layout */
    --header-height: 70px;
    --sidebar-width: 250px;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;

    /* Shadows (Premium Feel) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
}

h1, h2, h3, .brand-text { font-family: 'Outfit', sans-serif; }

/* Utilities */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.p-6 { padding: 1.5rem; }
.rounded-lg { border-radius: var(--border-radius-lg); }

/* Header */
.app-header {
    background-color: #E1E7EE;
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-lg);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 50;
}

.brand {
    font-weight: 700;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-right: var(--spacing-lg);
    color: var(--primary-navy);
}

.brand span {
    color: var(--text-primary);
}

.nav-menu {
    display: flex !important;
    gap: var(--spacing-md);
    margin-left: auto;
    align-items: center;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover, .nav-item.active {
    color: var(--primary-navy);
    background: rgba(28, 43, 71, 0.05);
}

/* Premium Portal Button - Under Construction */
.btn-portal {
    margin-left: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2c3e5d 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(28, 43, 71, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-portal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(28, 43, 71, 0.25);
    filter: brightness(1.1);
}

.btn-portal:active {
    transform: translateY(0);
}

.badge-construction {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-orange);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    border: 1px solid rgba(245, 158, 11, 0.3);
    position: relative;
    display: flex;
    align-items: center;
}

.badge-construction::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--warning-orange);
    border-radius: 50%;
    margin-right: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Coming Soon Tooltip / Toast */
.construction-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary-navy);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.construction-notice.show {
    transform: translateY(0);
}


.nav-item i { font-size: 1.1rem; }

/* Typography Helpers */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--text-secondary); }
.font-bold { font-weight: 700; }

/* Footer */
.app-footer {
    text-align: center;
    padding: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: auto;
}

/* Base UI Form and Utilities */
.form-section {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #f3f4f6;
}

.form-control-custom {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s;
    background: white;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background-color: var(--primary-navy);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}
.btn-primary:hover { background-color: #2c3e5d; color: white; }


/* --- Web Hosting Specific Styles Appended --- */
.hero { text-align: center; padding: 2.5rem 1rem 1rem; }
.hero h1 { font-size: 2.1rem; margin-bottom: 0.5rem; color: var(--primary-navy); letter-spacing: -0.02em; }
.hero p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 0.92rem; line-height: 1.6; }

.pricing-section {
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}

@media (min-width: 1200px) {
    .pricing-grid { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid #E5E7EB;
    border-radius: var(--border-radius-lg);
    padding: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pricing-card.premium { border: 2px solid var(--accent-blue); }

.card-title {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.2;
}
.pricing-card.premium .card-title { color: var(--accent-blue); }

.card-price {
    font-size: 2rem;
    font-weight: 800;
    margin: 0.5rem 0 1rem;
    color: var(--primary-navy);
    white-space: nowrap;
}
.pricing-card.premium .card-price { color: var(--accent-blue); }
.card-price span { font-size: 1rem; color: var(--text-secondary); font-weight: 600; }

.features-title {
    font-weight: 700;
    color: var(--primary-navy);
    margin: 1rem 0 0.5rem;
    font-size: 0.85rem;
}
.pricing-card.premium .features-title { color: var(--accent-blue); }

.features { list-style: none; margin-bottom: 1rem; text-align: left; flex-grow: 1; }
.features li { padding: 0.35rem 0; color: var(--text-secondary); font-size: 0.85rem; display: flex; align-items: center; }
.features li strong { color: var(--text-primary); margin-right: 0.25rem; font-weight: 600;}
.check { color: var(--success-green); margin-right: 0.5rem; font-weight: bold; font-size: 1rem; }

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    width: 100%;
}
.btn-outline { background: #f0f9ff; border: 1px solid #bae6fd; color: var(--primary-navy); }
.btn-outline:hover { background: #e0f2fe; }

.pricing-card.premium .btn-outline { background: #E0E7FF; border: 1px solid #C7D2FE; color: var(--accent-blue); }
.pricing-card.premium .btn-outline:hover { background: #C7D2FE; }

.custom-card { grid-column: span 1; }

.slider-container { text-align: left; margin-bottom: 1.5rem; }
.slider-container label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 0.5rem; }
.slider-container input { width: 100%; accent-color: var(--accent-blue); }

.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--primary-navy); }

.domain-checker {
    max-width: 600px;
    margin: 2rem auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
}

.domain-btn-active { opacity: 1; border-color: var(--accent-blue); background: var(--chart-blue-light); }
.domain-btn-inactive { opacity: 0.5; background: transparent; }
.features-toggle-bar {
    width: 100%;
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    padding: 0.6rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    margin: 1rem 0;
    border-radius: 8px;
    position: relative;
    user-select: none;
}

.features-toggle-bar:hover {
    background: rgba(99, 102, 241, 0.15);
}

.features-toggle-bar .chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid #6366f1;
    border-bottom: 2px solid #6366f1;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-top: -4px;
}

.features-toggle-bar.active .chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.extra-features {
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.extra-features-header {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-blue);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 1.5rem 0 1rem;
    text-align: center;
}

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

.pricing-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
