/* =============================================
   ServerFellows Client Area Theme
   Matches React website design exactly
   Brand: #dc2626 / #b91c1c / #991b1b (Red)
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    font-size: 16px !important; /* Override Bootstrap 3's html { font-size: 10px } so rem units match React/Tailwind */
}
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 16px !important;
    color: #334155;
    background: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---- Bootstrap 3 Overrides (match React/Tailwind defaults) ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.2;
    color: #0f172a;
}
h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.875rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }
p {
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}
input, select, textarea, button {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
.container { width: 100% !important; max-width: 80rem; padding-left: 1rem; padding-right: 1rem; }
.row { margin-left: 0; margin-right: 0; }
.panel { border-radius: 0.75rem; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px 0 rgba(0,0,0,0.05); }
.panel-heading { border-radius: 0.75rem 0.75rem 0 0; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.btn { border-radius: 0.5rem; font-weight: 600; font-family: 'Roboto', sans-serif !important; }
.btn-primary { background: #b91c1c; border-color: #b91c1c; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: #991b1b; border-color: #991b1b; }
.btn-default { border-color: #e2e8f0; color: #334155; }
.form-control {
    border-radius: 0.75rem;
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    box-shadow: none;
    font-family: 'Roboto', sans-serif !important;
}
.form-control:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}
.table > thead > tr > th { border-bottom: 2px solid #e2e8f0; color: #64748b; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.table > tbody > tr > td { border-top: 1px solid #e2e8f0; vertical-align: middle; color: #334155; }
.table-striped > tbody > tr:nth-of-type(odd) { background-color: #f8fafc; }
.breadcrumb { background: transparent; padding: 0; margin: 0; font-size: 0.875rem; }
.breadcrumb > li + li:before { color: #94a3b8; }
.alert { border-radius: 0.75rem; }
.nav-tabs > li > a { border-radius: 0.5rem 0.5rem 0 0; color: #334155; font-weight: 500; }
.nav-tabs > li.active > a { color: #b91c1c; border-bottom-color: #b91c1c; }
/* ---- End Bootstrap Overrides ---- */

a {
    color: #b91c1c;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #991b1b;
    text-decoration: none;
}
img { max-width: 100%; }

/* ---- Container ---- */
.sf-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: visible;
}
@media (min-width: 640px) {
    .sf-container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
    .sf-container { padding: 0 2rem; }
}

/* =============================================
   TOP STRIP
   ============================================= */
.sf-top-strip {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0;
    display: none;
}
@media (min-width: 1024px) {
    .sf-top-strip { display: block; }
}
.sf-top-strip-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.875rem;
}
.sf-top-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #4b5563;
    transition: color 0.2s;
}
.sf-top-link:hover {
    color: #1f2937;
}
.sf-currency-form {
    display: inline;
}
.sf-currency-select {
    padding: 0.25rem 0.75rem;
    background: #fff;
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    border: none;
    font-family: inherit;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.sf-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
.sf-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
}
@media (min-width: 1024px) {
    .sf-nav-inner { height: 4rem; }
}

/* Logo */
.sf-logo a { display: flex; align-items: center; }
.sf-logo-img {
    height: 1.75rem;
}
@media (min-width: 1024px) {
    .sf-logo-img { height: 2rem; }
}

/* Mobile toggle */
.sf-mobile-toggle {
    display: flex;
    background: none;
    border: none;
    color: #334155;
    cursor: pointer;
    padding: 0.25rem;
}
@media (min-width: 1024px) {
    .sf-mobile-toggle { display: none; }
}
.sf-mobile-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
@media (min-width: 1024px) {
    .sf-mobile-right { display: none; }
}
.sf-mobile-cart {
    color: #334155;
    transition: color 0.2s;
}
.sf-mobile-cart:hover { color: #b91c1c; }

/* Desktop nav */
.sf-desktop-nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
}
@media (min-width: 1024px) {
    .sf-desktop-nav { display: flex; }
}
.sf-nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #334155;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    font-size: 0.9rem;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
.sf-nav-link:hover {
    color: #b91c1c;
    background: #f8fafc;
}

/* Desktop actions */
.sf-desktop-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}
@media (min-width: 1024px) {
    .sf-desktop-actions { display: flex; }
}
.sf-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #b91c1c;
    color: #fff !important;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    text-decoration: none;
}
.sf-btn-primary:hover {
    background: #991b1b;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: #fff !important;
    text-decoration: none;
}
.sf-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    color: #b91c1c !important;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #b91c1c;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-decoration: none;
}
.sf-btn-outline:hover {
    background: #b91c1c;
    color: #fff !important;
    text-decoration: none;
}
.sf-desktop-actions {
    gap: 0.5rem;
}

/* Dropdown */
.sf-dropdown {
    position: relative;
}
.sf-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.sf-dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0.5rem;
    min-width: 12rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 50;
    overflow: hidden;
}
.sf-dropdown-right {
    left: auto;
    right: 0;
}
.sf-dropdown.open .sf-dropdown-menu {
    display: block;
}
.sf-dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: #334155;
    font-size: 0.875rem;
    transition: all 0.2s;
}
.sf-dropdown-item:hover {
    color: #fff;
    background: #b91c1c;
}
.sf-dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.25rem 0;
}
.sf-dropdown-logout {
    color: #dc2626;
}
.sf-dropdown-header {
    padding: 0.75rem 1rem;
}
.sf-dropdown-header-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #0f172a;
}
.sf-dropdown-header-company {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
}
.sf-dropdown-item i {
    margin-right: 0.5rem;
    width: 1rem;
    text-align: center;
    opacity: 0.7;
}
.sf-dropdown-item:hover i {
    opacity: 1;
}

/* Mobile menu */
.sf-mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
}
@media (min-width: 1024px) {
    .sf-mobile-menu { display: none !important; }
}
.sf-mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.sf-mobile-link {
    color: #334155;
    font-weight: 500;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}
.sf-mobile-link:hover {
    color: #b91c1c;
    background: #f8fafc;
}
.sf-mobile-link-brand {
    color: #b91c1c;
}
.sf-mobile-link-brand:hover {
    color: #991b1b;
}
.sf-mobile-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
}
.sf-mobile-section-label {
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}
.sf-mobile-btn-primary {
    display: block;
    background: #b91c1c;
    color: #fff !important;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}
.sf-mobile-btn-primary:hover {
    background: #991b1b;
    color: #fff !important;
}
.sf-mobile-btn-outline {
    display: block;
    background: transparent;
    color: #b91c1c !important;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid #b91c1c;
    transition: all 0.2s;
}
.sf-mobile-btn-outline:hover {
    background: #b91c1c;
    color: #fff !important;
}

/* =============================================
   ULTRA STARTER OFFER (matches React LimitedOffer)
   ============================================= */
.sf-ultra-offer {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, #dc2626, #b91c1c, #991b1b);
    overflow: hidden;
}
.sf-ultra-offer-bg {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTM2IDM0djItaDJ2LTJoLTJ6bTAgNHYyaDJ2LTJoLTJ6bTAtOHYyaDJ2LTJoLTJ6Ii8+PC9nPjwvZz48L3N2Zz4=");
}
.sf-ultra-offer-inner {
    position: relative;
    z-index: 10;
}
.sf-ultra-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fbbf24;
    color: #0f172a;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    animation: sf-pulse 2s infinite;
}
@keyframes sf-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}
.sf-ultra-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
@media (min-width: 640px) { .sf-ultra-title { font-size: 3rem; } }
@media (min-width: 1024px) { .sf-ultra-title { font-size: 3.75rem; } }
.sf-ultra-subtitle {
    font-size: 1.25rem;
    color: #fecaca;
    margin-bottom: 1.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.sf-ultra-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #fecaca;
    flex-wrap: wrap;
}
.sf-ultra-timer-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
}
.sf-ultra-card {
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    overflow: hidden;
}
.sf-ultra-card-grid {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
    .sf-ultra-card-grid { grid-template-columns: 1fr 1fr; }
}
.sf-ultra-card-left {
    background: linear-gradient(135deg, #f8fafc, #fff);
    padding: 2rem;
}
@media (min-width: 1024px) {
    .sf-ultra-card-left { padding: 2.5rem; }
}
.sf-ultra-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.sf-ultra-price-amount {
    font-size: 3.75rem;
    font-weight: 700;
    color: #0f172a;
}
.sf-ultra-price-period {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 600;
}
.sf-ultra-save-badge {
    background: #fef2f2;
    color: #b91c1c;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
}
.sf-ultra-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
}
.sf-ultra-highlight svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}
.sf-ultra-cta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #b91c1c;
    color: #fff !important;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    text-decoration: none;
}
.sf-ultra-cta:hover {
    background: #991b1b;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    transform: scale(1.02);
    color: #fff !important;
    text-decoration: none;
}
.sf-ultra-card-right {
    background: #0f172a;
    padding: 2rem;
}
@media (min-width: 1024px) {
    .sf-ultra-card-right { padding: 2.5rem; }
}
.sf-ultra-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.sf-ultra-feature svg { flex-shrink: 0; margin-top: 0.125rem; }
.sf-ultra-feature span {
    color: #e2e8f0;
    font-size: 0.875rem;
    line-height: 1.5;
}
.sf-ultra-why {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.2);
}
.sf-ultra-why p {
    color: #fecaca;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}
.sf-ultra-trust {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: #fecaca;
}
.sf-ultra-trust span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* =============================================
   MAIN CONTENT
   ============================================= */
.sf-main-content {
    min-height: 60vh;
    padding: 0;
    overflow: visible;
}
/* Standard WHMCS pages get padding via their container wrapper */
.sf-main-content > .sf-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* =============================================
   FULL-WIDTH BREAKOUT
   Makes any element span 100% viewport width
   even when nested inside a max-width container.
   Uses transform method (most reliable).
   ============================================= */
.sf-fullwidth {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ---- Page Header / Breadcrumb ---- */
.sf-page-header {
    margin-bottom: 2rem;
}
.sf-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}
.sf-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
    list-style: none;
    padding: 0;
    margin: 0;
}
.sf-breadcrumb a { color: #b91c1c; }
.sf-breadcrumb a:hover { color: #991b1b; }

/* ---- Alerts ---- */
.sf-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.sf-alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.sf-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.sf-alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* =============================================
   BOOTSTRAP OVERRIDES (for WHMCS components)
   ============================================= */

/* Buttons */
.btn-primary,
.btn-primary:focus {
    background-color: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #fff !important;
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    transition: all 0.2s;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.btn-primary:hover,
.btn-primary:active {
    background-color: #991b1b !important;
    border-color: #991b1b !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-default,
.btn-default:focus {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-success {
    background-color: #22c55e !important;
    border-color: #22c55e !important;
    border-radius: 0.5rem;
    font-weight: 600;
}
.btn-success:hover {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
}
.btn-danger {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    border-radius: 0.5rem;
    font-weight: 600;
}
.btn-danger:hover {
    background-color: #b91c1c !important;
    border-color: #b91c1c !important;
}

/* Panels */
.panel {
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}
.panel-heading {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0.75rem 0.75rem 0 0 !important;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: #0f172a;
}
.panel-body {
    padding: 1.25rem;
}
.panel-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 0.75rem 0.75rem;
    padding: 1rem 1.25rem;
}

/* Tables */
.table {
    border-collapse: separate;
    border-spacing: 0;
}
.table > thead > tr > th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
}
.table > tbody > tr > td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}
.table > tbody > tr:hover > td {
    background: #f8fafc;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background: #fafbfc;
}

/* Forms */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: #334155;
    transition: all 0.2s;
    font-family: inherit;
}
.form-control:focus {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
    outline: none;
}
.form-group label,
label {
    font-weight: 500;
    color: #0f172a;
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
}
.input-group .form-control {
    border-radius: 0.5rem 0 0 0.5rem;
}
.input-group .btn {
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Alerts */
.alert {
    border-radius: 0.75rem;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
}
.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-left: 4px solid #22c55e;
}
.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #dc2626;
}
.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}
.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

/* Badges */
.label-primary,
.badge-primary {
    background-color: #b91c1c !important;
}
.label-success,
.badge-success {
    background-color: #22c55e !important;
}
.label-warning,
.badge-warning {
    background-color: #f59e0b !important;
}
.label-danger,
.badge-danger {
    background-color: #dc2626 !important;
}
.label, .badge {
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* List Groups */
.list-group-item {
    border-color: #e2e8f0;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
    color: #334155;
}
.list-group-item:first-child { border-radius: 0.75rem 0.75rem 0 0; }
.list-group-item:last-child { border-radius: 0 0 0.75rem 0.75rem; }
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    background-color: #b91c1c;
    border-color: #b91c1c;
}
.list-group-item:hover {
    background: #fef2f2;
}

/* Nav Tabs */
.nav-tabs {
    border-bottom: 2px solid #e2e8f0;
}
.nav-tabs > li > a {
    border-radius: 0.5rem 0.5rem 0 0;
    color: #64748b;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    transition: all 0.2s;
    border: none;
    margin-bottom: -2px;
}
.nav-tabs > li > a:hover {
    border-color: transparent;
    color: #b91c1c;
    background: transparent;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    border: none;
    border-bottom: 3px solid #b91c1c;
    color: #b91c1c;
    font-weight: 600;
    background: transparent;
}

/* Pagination */
.pagination > li > a,
.pagination > li > span {
    color: #b91c1c;
    border-color: #e2e8f0;
    border-radius: 0.375rem;
    margin: 0 0.125rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}
.pagination > .active > a,
.pagination > .active > span {
    background-color: #b91c1c;
    border-color: #b91c1c;
}
.pagination > li > a:hover {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

/* Well */
.well {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: none;
    padding: 1.25rem;
}

/* Modal */
.modal-content {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.modal-header {
    border-bottom: 1px solid #e2e8f0;
    border-radius: 1rem 1rem 0 0;
    padding: 1.25rem;
}
.modal-footer {
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 1rem 1rem;
    padding: 1rem 1.25rem;
}

/* Progress bar */
.progress {
    height: 0.5rem;
    border-radius: 9999px;
    background: #f1f5f9;
}
.progress-bar {
    background-color: #b91c1c;
    border-radius: 9999px;
}

/* Sidebar */
.sidebar .panel {
    border-radius: 0.75rem;
}
.sidebar .panel-heading {
    background: #f8fafc !important;
    font-weight: 600;
    color: #0f172a;
}

/* =============================================
   FOOTER
   ============================================= */
.sf-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 0;
}
.sf-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .sf-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 1024px) {
    .sf-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }
}
.sf-footer-logo {
    margin-bottom: 1rem;
}
.sf-footer-desc {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.875rem;
}
.sf-footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.sf-social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #1e293b;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.2s;
}
.sf-social-icon:hover {
    background: #dc2626;
    color: #fff;
}
.sf-footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.sf-footer-heading {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.sf-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sf-footer-links li {
    margin-bottom: 0.75rem;
}
.sf-footer-links a {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.sf-footer-links a:hover {
    color: #f87171;
}
.sf-footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 2rem 0;
    text-align: center;
}
.sf-footer-bottom p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
}

/* =============================================
   CLIENT AREA SPECIFIC PAGES
   ============================================= */

/* Dashboard cards */
.client-home-panels .panel {
    border-radius: 0.75rem;
    transition: all 0.3s;
}
.client-home-panels .panel:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Service/Domain status badges */
.status-active { color: #22c55e; }
.status-pending { color: #f59e0b; }
.status-suspended { color: #dc2626; }

/* Invoice status */
.invoice-paid { color: #22c55e; font-weight: 600; }
.invoice-unpaid { color: #dc2626; font-weight: 600; }

/* Ticket list */
.ticket-open { color: #3b82f6; font-weight: 600; }
.ticket-answered { color: #22c55e; font-weight: 600; }
.ticket-customer-reply { color: #f59e0b; font-weight: 600; }
.ticket-closed { color: #64748b; font-weight: 600; }

/* Login page */
.login-container {
    max-width: 28rem;
    margin: 3rem auto;
}
.login-container .panel {
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.login-container .panel-heading {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1.5rem;
}
.login-container .panel-body {
    padding: 1.5rem;
}

/* Cart/Order overrides within client area */
.order-summary {
    border-radius: 0.75rem;
    overflow: hidden;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-brand { color: #b91c1c; }
.bg-brand { background-color: #b91c1c; }
.text-slate-900 { color: #0f172a; }
.text-slate-600 { color: #475569; }
.text-slate-400 { color: #94a3b8; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.shadow-sm { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .sf-page-title {
        font-size: 1.25rem;
    }
    .sf-footer-grid {
        gap: 2rem;
    }
}

/* =============================================
   HOMEPAGE SECTIONS (matches React site)
   Container is made full-width via .sf-container-full
   so sections are naturally 100% width.
   ============================================= */

/* ---- Shared Section Layout ---- */
/* Inner content wrappers: match React max-w-7xl = 80rem with proper padding */
.sf-section-inner,
.sf-hero-inner,
.sf-ultra-offer-inner {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}
@media (min-width: 640px) {
    .sf-section-inner,
    .sf-hero-inner,
    .sf-ultra-offer-inner { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
    .sf-section-inner,
    .sf-ultra-offer-inner { padding: 0 2rem; }
    .sf-hero-inner { padding: 0 3rem; }
}

.sf-section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.sf-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.2;
}
@media (min-width: 640px) { .sf-section-title { font-size: 2.75rem; } }
@media (min-width: 1024px) { .sf-section-title { font-size: 3rem; } }
.sf-section-subtitle {
    font-size: 1.125rem;
    color: #475569;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}
.sf-badge-brand {
    display: inline-block;
    background: #fef2f2;
    color: #b91c1c;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}
.sf-badge-brand-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* =============================================
   HERO SECTION
   ============================================= */
.sf-hero {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 3rem 0;
}
@media (min-width: 1024px) { .sf-hero { padding: 4rem 0; } }
.sf-hero-box {
    background: rgba(255,255,255,0.7);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    overflow: hidden;
    backdrop-filter: blur(12px);
}
.sf-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .sf-hero-grid { grid-template-columns: 1fr 1fr; } }
.sf-hero-left {
    background: rgba(255,255,255,0.95);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 1024px) { .sf-hero-left { padding: 2.5rem; } }
.sf-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.1;
}
@media (min-width: 640px) { .sf-hero-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .sf-hero-title { font-size: 3.5rem; } }
.sf-hero-tagline {
    font-size: 1.125rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sf-hero-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}
.sf-hero-price-at {
    font-size: 1.125rem;
    color: #0f172a;
}
.sf-hero-price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #b91c1c;
}
.sf-hero-price-period {
    font-size: 1.125rem;
    color: #475569;
}
.sf-hero-feature-rotator {
    height: 3rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}
.sf-hero-feature-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 3rem;
    display: block;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (min-width: 1024px) { .sf-hero-feature-text { font-size: 2rem; } }
.sf-hero-cta-btn {
    display: inline-block;
    background: #b91c1c;
    color: #fff !important;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    text-decoration: none;
    margin-bottom: 1.5rem;
}
.sf-hero-cta-btn:hover {
    background: #991b1b;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    color: #fff !important;
    text-decoration: none;
}
.sf-hero-guarantee {
    font-size: 1rem;
    color: #334155;
}
.sf-hero-right {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1024px) { .sf-hero-right { padding: 2.5rem; } }
.sf-hero-domain-title-wrap {
    margin-bottom: 1.5rem;
    text-align: center;
}
.sf-hero-domain-title {
    display: inline-block;
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 15%, rgba(0,0,0,0.6) 85%, transparent 100%);
    border-radius: 0.5rem;
    letter-spacing: -0.01em;
}
@media (min-width: 1024px) { .sf-hero-domain-title { font-size: 1.125rem; } }
.sf-hero-domain-form {
    width: 100%;
}
.sf-hero-domain-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.sf-hero-domain-input-wrap {
    flex: 1;
    position: relative;
}
.sf-hero-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}
.sf-hero-domain-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    background: #fff;
}
.sf-hero-domain-input:focus {
    box-shadow: 0 0 0 3px rgba(185,28,28,0.2);
}
.sf-hero-tld-select {
    width: 120px;
    padding: 0.75rem 0.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    background: #fff;
    outline: none;
}
.sf-hero-domain-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #b91c1c;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    font-family: inherit;
    margin-bottom: 1.5rem;
}
.sf-hero-domain-btn:hover {
    background: #991b1b;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.sf-hero-domain-note {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
}
.sf-hero-domain-note strong {
    color: #fca5a5;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.sf-features {
    padding: 4rem 0;
    background: #fff;
}
.sf-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) { .sf-features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sf-features-grid { grid-template-columns: 1fr 1fr 1fr; } }
.sf-feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s;
}
.sf-feature-card:hover {
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.sf-feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #b91c1c;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform 0.3s;
}
.sf-feature-card:hover .sf-feature-icon {
    transform: scale(1.1);
}
.sf-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}
.sf-feature-desc {
    color: #475569;
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 0;
}
.sf-apps-banner {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    color: #fff;
}
.sf-apps-banner-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}
.sf-apps-banner-desc {
    color: #fecaca;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}
.sf-apps-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.sf-app-tag {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}
.sf-app-tag-more {
    background: rgba(255,255,255,0.3);
}

/* =============================================
   PRICING SECTION
   ============================================= */
.sf-pricing {
    padding: 4rem 0;
    background: #f8fafc;
}
.sf-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .sf-pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sf-pricing-grid { grid-template-columns: repeat(4, 1fr); } }
.sf-pricing-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.sf-pricing-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    transform: translateY(-4px);
    border-color: #fecaca;
}
.sf-pricing-popular {
    border: 2px solid #b91c1c;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    z-index: 1;
}
@media (min-width: 1024px) { .sf-pricing-popular { transform: scale(1.08); } }
.sf-pricing-popular:hover {
    transform: scale(1.08) translateY(-4px);
}
.sf-pricing-popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    color: #fff;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}
.sf-pricing-card-inner {
    padding: 1.75rem;
}
.sf-pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}
.sf-pricing-tagline {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.sf-pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}
.sf-pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #0f172a;
}
.sf-pricing-amount::before {
    content: '$';
}
.sf-pricing-period {
    font-size: 1rem;
    color: #475569;
    font-weight: 500;
}
.sf-pricing-billed {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}
.sf-pricing-bonus {
    font-size: 0.75rem;
    color: #b91c1c;
    font-weight: 600;
    margin-bottom: 1rem;
}
.sf-pricing-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #0f172a;
    color: #fff !important;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s;
    text-decoration: none;
    margin-bottom: 1.75rem;
}
.sf-pricing-btn:hover {
    background: #1e293b;
    color: #fff !important;
    text-decoration: none;
}
.sf-pricing-btn-brand {
    background: #b91c1c;
    box-shadow: 0 10px 15px -3px rgba(185,28,28,0.25);
}
.sf-pricing-btn-brand:hover {
    background: #991b1b;
}
.sf-pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.sf-pricing-feat {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.sf-pricing-feat svg { flex-shrink: 0; margin-top: 0.125rem; }
.sf-pricing-feat span {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.4;
}
.sf-custom-solution {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
}
.sf-custom-solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}
.sf-custom-solution-desc {
    color: #475569;
    margin-bottom: 1.5rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}
.sf-custom-solution-btn {
    display: inline-block;
    background: #0f172a;
    color: #fff !important;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
}
.sf-custom-solution-btn:hover {
    background: #1e293b;
    color: #fff !important;
    text-decoration: none;
}

/* =============================================
   EMAIL HOSTING SECTION
   ============================================= */
.sf-email-hosting {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fef2f2, #fff);
}
.sf-email-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
}
@media (min-width: 768px) { .sf-email-grid { grid-template-columns: repeat(3, 1fr); } }
.sf-email-card {
    position: relative;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.sf-email-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    border-color: #fecaca;
}
.sf-email-featured {
    border-color: #b91c1c;
    transform: scale(1.03);
}
@media (min-width: 768px) { .sf-email-featured { transform: scale(1.05); } }
.sf-email-best-value {
    border-color: #fbbf24;
}
.sf-email-popular-tag {
    position: absolute;
    top: -0.875rem;
    right: 1rem;
    background: #b91c1c;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.sf-email-best-badge {
    position: absolute;
    top: -0.875rem;
    left: 50%;
    transform: translateX(-50%);
    background: #fbbf24;
    color: #0f172a;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}
.sf-email-card-inner {
    padding: 2rem;
    text-align: center;
}
.sf-email-plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.sf-email-plan-tagline {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 1.5rem;
}
.sf-email-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}
.sf-email-price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #0f172a;
}
.sf-email-price-amount::before {
    content: '$';
}
.sf-email-price-period {
    font-size: 1.125rem;
    color: #475569;
}
.sf-email-order-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #0f172a;
    color: #fff !important;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.2s;
    text-decoration: none;
    margin-bottom: 2rem;
}
.sf-email-order-btn:hover {
    background: #1e293b;
    color: #fff !important;
    text-decoration: none;
}
.sf-email-order-brand {
    background: #b91c1c;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.sf-email-order-brand:hover {
    background: #991b1b;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.sf-email-features {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.sf-email-features-label {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.sf-email-feat {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.sf-email-feat svg { flex-shrink: 0; margin-top: 0.125rem; }
.sf-email-feat span {
    font-size: 0.85rem;
    color: #334155;
}
.sf-email-all-include {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
}
.sf-email-all-include p {
    color: #334155;
    font-size: 0.9rem;
    margin: 0;
}
.sf-email-all-include strong {
    color: #0f172a;
}

/* =============================================
   WHY CHOOSE SECTION (matches WhyChoose.tsx)
   ============================================= */
.sf-whychoose {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fef2f2, #fff);
}
.sf-whychoose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) { .sf-whychoose-grid { grid-template-columns: 1fr 1fr; } }
.sf-whychoose-left {
    text-align: left;
}
.sf-whychoose-promises {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sf-whychoose-promise {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.sf-whychoose-promise svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}
.sf-whychoose-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.sf-whychoose-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s;
}
.sf-whychoose-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.sf-whychoose-card-icon {
    width: 3rem;
    height: 3rem;
    background: #b91c1c;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =============================================
   CPANEL SECTION
   ============================================= */
.sf-cpanel {
    padding: 4rem 0;
    background: #f8fafc;
}
.sf-cpanel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) { .sf-cpanel-grid { grid-template-columns: 1fr 1fr; } }
.sf-cpanel-mockup {
    order: 2;
}
@media (min-width: 1024px) { .sf-cpanel-mockup { order: 1; } }
.sf-cpanel-window {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.sf-cpanel-titlebar {
    background: linear-gradient(to right, #1e293b, #0f172a);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.sf-cpanel-dots {
    display: flex;
    gap: 0.375rem;
}
.sf-dot-red { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: #ef4444; }
.sf-dot-yellow { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: #f59e0b; }
.sf-dot-green { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: #22c55e; }
.sf-cpanel-titlebar-text {
    flex: 1;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
}
.sf-cpanel-body {
    padding: 1.5rem;
    background: #f8fafc;
}
.sf-cpanel-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}
@media (min-width: 480px) { .sf-cpanel-tabs { grid-template-columns: repeat(4, 1fr); } }
.sf-cpanel-tab {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}
.sf-cpanel-tab:hover {
    border-color: #fecaca;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.sf-cpanel-tab span {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #334155;
    margin-top: 0.375rem;
}
.sf-cpanel-stats {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
}
.sf-cpanel-stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.sf-cpanel-stats-header h4 {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.9rem;
    margin: 0;
}
.sf-cpanel-stats-header span {
    font-size: 0.7rem;
    color: #64748b;
}
.sf-cpanel-stat-row {
    margin-bottom: 0.5rem;
}
.sf-cpanel-stat-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}
.sf-cpanel-stat-labels span:first-child { color: #475569; }
.sf-cpanel-stat-labels span:last-child { font-weight: 500; color: #0f172a; }
.sf-cpanel-progress {
    height: 0.5rem;
    background: #f1f5f9;
    border-radius: 9999px;
    overflow: hidden;
}
.sf-cpanel-progress-fill {
    height: 100%;
    border-radius: 9999px;
}
.sf-cpanel-footer {
    background: #fff;
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #475569;
}
.sf-cpanel-content {
    order: 1;
}
@media (min-width: 1024px) { .sf-cpanel-content { order: 2; } }
.sf-cpanel-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.2;
}
@media (min-width: 640px) { .sf-cpanel-title { font-size: 2.75rem; } }
.sf-cpanel-desc {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.sf-cpanel-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.sf-cpanel-feat-item {
    display: flex;
    gap: 1rem;
}
.sf-cpanel-feat-icon {
    width: 3rem;
    height: 3rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sf-cpanel-feat-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
}
.sf-cpanel-feat-item p {
    font-size: 0.875rem;
    color: #475569;
    margin: 0;
}
.sf-cpanel-why-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
}
.sf-cpanel-why-box p {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.7;
    margin: 0;
}
.sf-cpanel-why-box strong {
    color: #0f172a;
}

/* =============================================
   COMPARISON TABLE SECTION
   ============================================= */
.sf-comparison {
    padding: 4rem 0;
    background: #fff;
}
.sf-comparison-table-wrap {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
.sf-comparison-table {
    width: 100%;
    min-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
}
.sf-comparison-table thead {
    background: #f8fafc;
}
.sf-comparison-table th {
    padding: 1rem;
    text-align: center;
    vertical-align: bottom;
    border-bottom: 1px solid #e2e8f0;
}
.sf-comp-feature-col {
    text-align: left !important;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 160px;
}
.sf-comp-plan-col {
    min-width: 130px;
}
.sf-comp-plan-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}
.sf-comp-plan-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #b91c1c;
}
.sf-comp-plan-price span {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 400;
}
.sf-comparison-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #334155;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
}
.sf-comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}
.sf-comparison-table td svg {
    display: inline-block;
}
.sf-comparison-table tbody tr:hover td {
    background: #f8fafc;
}
.sf-comp-highlight {
    background: rgba(254,242,242,0.5) !important;
}
.sf-comp-category td {
    background: #f1f5f9 !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left !important;
}
.sf-comparison-note {
    text-align: center;
    font-size: 0.85rem;
    color: #475569;
    margin-top: 1rem;
}

/* =============================================
   CTA SECTION
   ============================================= */
.sf-cta {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a, #1e293b, #0f172a);
    color: #fff;
    overflow: hidden;
}
.sf-cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnoiIHN0cm9rZT0iIzFmMjkzNyIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9nPjwvc3ZnPg==");
}
.sf-cta-inner {
    position: relative;
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    text-align: center;
}
.sf-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(185,28,28,0.1);
    border: 1px solid rgba(185,28,28,0.3);
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
    color: #fca5a5;
    font-size: 0.85rem;
    font-weight: 600;
}
.sf-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
@media (min-width: 640px) { .sf-cta-title { font-size: 3rem; } }
@media (min-width: 1024px) { .sf-cta-title { font-size: 3.75rem; } }
.sf-cta-desc {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.sf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #b91c1c;
    color: #fff !important;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.2s;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    text-decoration: none;
    margin-bottom: 2.5rem;
}
.sf-cta-btn:hover {
    background: #991b1b;
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(185,28,28,0.3);
    color: #fff !important;
    text-decoration: none;
}
.sf-cta-signals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}
.sf-cta-signals span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}
.sf-cta-login {
    font-size: 0.85rem;
    color: #94a3b8;
}
.sf-cta-login a {
    color: #f87171;
    font-weight: 600;
    text-decoration: underline;
}
.sf-cta-login a:hover {
    color: #fca5a5;
}

/* =============================================
   TRUST / TESTIMONIALS SECTION
   ============================================= */
.sf-trust {
    padding: 4rem 0;
    background: #fff;
}
.sf-trust-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.sf-trust-stars strong {
    font-size: 1.05rem;
    color: #0f172a;
    margin-left: 0.5rem;
}
.sf-trust-count {
    color: #475569;
    font-size: 0.9rem;
}
.sf-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) { .sf-testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sf-testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.sf-testimonial-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
}
.sf-testimonial-card:hover {
    border-color: #fecaca;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.sf-testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}
.sf-quote-icon {
    margin-bottom: 0.75rem;
}
.sf-testimonial-quote {
    color: #334155;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}
.sf-testimonial-author {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}
.sf-testimonial-author strong {
    display: block;
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9rem;
}
.sf-testimonial-author span {
    display: block;
    font-size: 0.8rem;
    color: #475569;
}
.sf-trust-cta-box {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    color: #fff;
}
.sf-trust-cta-box h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.3;
}
@media (min-width: 640px) { .sf-trust-cta-box h3 { font-size: 2rem; } }
.sf-trust-cta-box p {
    color: #fecaca;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.sf-trust-cta-btn {
    display: inline-block;
    background: #b91c1c;
    color: #fff !important;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.2s;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
    text-decoration: none;
}
.sf-trust-cta-btn:hover {
    background: #991b1b;
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    color: #fff !important;
    text-decoration: none;
}

/* =============================================
   INNER PAGE HERO (Hosting Plan Pages)
   Matches React SharedHostingPlans hero pattern
   ============================================= */
.sf-inner-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, #dc2626, #b91c1c);
    padding: 2.5rem 0 2.5rem;
}
@media (min-width: 640px) { .sf-inner-hero { padding: 2.5rem 0 4rem; } }
.sf-inner-hero-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) { .sf-inner-hero-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .sf-inner-hero-inner { padding: 0 2rem; } }
.sf-inner-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .sf-inner-hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.sf-inner-hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
}
.sf-inner-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
@media (min-width: 640px) { .sf-inner-hero-title { font-size: 2.5rem; } }
@media (min-width: 768px) { .sf-inner-hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .sf-inner-hero-title { font-size: 3.625rem; } }
.sf-inner-hero-desc {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 32rem;
    line-height: 1.6;
}
.sf-inner-hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.sf-inner-hero-btn {
    display: inline-block;
    background: #fff;
    color: #dc2626;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: all 0.2s;
}
.sf-inner-hero-btn:hover {
    background: #f3f4f6;
    color: #dc2626;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.sf-inner-hero-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}
.sf-inner-hero-price-from {
    font-size: 1.25rem;
    color: #fff;
}
.sf-inner-hero-price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
}
.sf-inner-hero-price-period {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
}
/* Image wrapper: relative with explicit height, inner content is absolute */
.sf-inner-hero-image {
    position: relative;
    height: 250px;
}
@media (min-width: 640px) { .sf-inner-hero-image { height: 320px; } }
@media (min-width: 1024px) { .sf-inner-hero-image { height: 420px; } }
/* Inner container fills parent absolutely with rounded corners */
.sf-inner-hero-image-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.sf-inner-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sf-inner-hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent, transparent);
}
.sf-inner-hero-circle {
    position: absolute;
    width: 24rem;
    height: 24rem;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.sf-inner-hero-circle-tl {
    top: 0;
    left: 0;
    transform: translate(-50%,-50%);
}
.sf-inner-hero-circle-br {
    bottom: 0;
    right: 0;
    transform: translate(50%,50%);
}

/* =============================================
   PLANS SECTION (Generic for all hosting pages)
   Matches React plan section pattern
   ============================================= */
.sf-plans-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fef2f2, #fff);
}
.sf-plans-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) { .sf-plans-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .sf-plans-inner { padding: 0 2rem; } }
.sf-plans-header {
    text-align: center;
    margin-bottom: 3rem;
}
.sf-plans-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}
.sf-plans-badge svg {
    flex-shrink: 0;
}
.sf-plans-badge span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #991b1b;
}
.sf-plans-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}
@media (min-width: 640px) { .sf-plans-title { font-size: 2.75rem; } }
@media (min-width: 1024px) { .sf-plans-title { font-size: 3rem; } }
.sf-plans-subtitle {
    font-size: 1.125rem;
    color: #475569;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}
.sf-plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
}
@media (min-width: 768px) { .sf-plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sf-plans-grid { grid-template-columns: repeat(3, 1fr); } }

/* Plan Card */
.sf-plan-card {
    position: relative;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}
.sf-plan-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    border-color: #fecaca;
}
.sf-plan-popular {
    border-color: #b91c1c;
    transform: scale(1.03);
}
@media (min-width: 1024px) { .sf-plan-popular { transform: scale(1.05); } }
.sf-plan-popular:hover {
    border-color: #b91c1c;
}
.sf-plan-best-value {
    border-color: #fbbf24;
}
.sf-plan-best-value:hover {
    border-color: #fbbf24;
}
.sf-plan-popular-tag {
    position: absolute;
    top: -0.875rem;
    right: 1rem;
    background: #b91c1c;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.sf-plan-best-tag {
    position: absolute;
    top: -0.875rem;
    left: 50%;
    transform: translateX(-50%);
    background: #fbbf24;
    color: #0f172a;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}
.sf-plan-inner {
    padding: 2rem;
    text-align: center;
}
.sf-plan-best-tag ~ .sf-plan-inner {
    padding-top: 2.5rem;
}
.sf-plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}
.sf-plan-tagline {
    font-size: 0.8rem;
    color: #475569;
    margin-bottom: 1.5rem;
}
.sf-plan-specs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.sf-plan-spec {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
}
.sf-plan-price-wrap {
    margin-bottom: 1.5rem;
}
.sf-plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}
.sf-plan-price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
}
.sf-plan-price-period {
    font-size: 1.125rem;
    color: #475569;
}
.sf-plan-price-was {
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}
.sf-plan-price-save {
    font-size: 0.75rem;
    color: #b91c1c;
    font-weight: 600;
}
.sf-plan-order-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 2rem;
}
.sf-plan-order-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}
.sf-plan-order-brand {
    background: #b91c1c;
    color: #fff !important;
    box-shadow: 0 10px 15px -3px rgba(185,28,28,0.25);
}
.sf-plan-order-brand:hover {
    background: #991b1b;
    color: #fff !important;
    box-shadow: 0 20px 25px -5px rgba(185,28,28,0.3);
}
.sf-plan-order-dark {
    background: #0f172a;
    color: #fff !important;
}
.sf-plan-order-dark:hover {
    background: #1e293b;
    color: #fff !important;
}
.sf-plan-features {
    text-align: left;
}
.sf-plan-features-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0f172a;
    margin-bottom: 0.75rem;
}
.sf-plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.sf-plan-feature svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}
.sf-plan-feature span {
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.4;
}
.sf-plans-all-include {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}
.sf-plans-all-include p {
    color: #334155;
    font-size: 0.875rem;
    margin: 0;
}
.sf-plans-all-include strong {
    color: #0f172a;
}

/* =============================================
   WHY CHOOSE SECTION (4-card grid for hosting pages)
   Matches React keyFeatures pattern
   ============================================= */
.sf-why-section {
    padding: 4rem 0;
    background: #fff;
}
.sf-why-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) { .sf-why-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .sf-why-inner { padding: 0 2rem; } }
.sf-why-header {
    text-align: center;
    margin-bottom: 3rem;
}
.sf-why-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}
@media (min-width: 640px) { .sf-why-title { font-size: 2.25rem; } }
.sf-why-subtitle {
    font-size: 1.125rem;
    color: #475569;
    max-width: 40rem;
    margin: 0 auto;
}
.sf-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) { .sf-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sf-why-grid { grid-template-columns: repeat(4, 1fr); } }
.sf-why-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}
.sf-why-card:hover {
    border-color: #fecaca;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.sf-why-card-icon {
    width: 4rem;
    height: 4rem;
    background: #fef2f2;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.sf-why-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.sf-why-card-desc {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* =============================================
   SIMPLE CTA SECTION (for hosting pages)
   Matches React CTA pattern at bottom of plans
   ============================================= */
.sf-simple-cta {
    padding: 4rem 0;
    background: #f8fafc;
    text-align: center;
}
.sf-simple-cta-inner {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1rem;
}
.sf-simple-cta-icon {
    display: block;
    margin: 0 auto 1.5rem;
}
.sf-simple-cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}
.sf-simple-cta-desc {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
}
.sf-simple-cta-btn {
    display: inline-block;
    background: #b91c1c;
    color: #fff !important;
    padding: 1rem 3rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(185,28,28,0.25);
    transition: all 0.2s;
}
.sf-simple-cta-btn:hover {
    background: #991b1b;
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 20px 25px -5px rgba(185,28,28,0.3);
    transform: scale(1.02);
}

/* =============================================
   DASHBOARD CARDS (logged-in homepage)
   ============================================= */
.sf-dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.sf-dash-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
}
.sf-dash-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.sf-dash-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.sf-dash-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sf-dash-card-icon-red { background: #fef2f2; }
.sf-dash-card-icon-blue { background: #eff6ff; }
.sf-dash-card-icon-yellow { background: #fef3c7; }
.sf-dash-card-icon-green { background: #f0fdf4; }
.sf-dash-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}
.sf-dash-card-label {
    font-size: 0.8rem;
    color: #64748b;
}
.sf-dash-card-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #b91c1c;
}
.sf-dash-card-link:hover {
    color: #991b1b;
}
.sf-dash-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.sf-dash-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: all 0.3s;
    text-decoration: none;
}
.sf-dash-action:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    text-decoration: none;
}
.sf-dash-action-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sf-dash-action-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
}
.sf-dash-action-desc {
    font-size: 0.8rem;
    color: #64748b;
}

/* =============================================
   RESPONSIVE OVERRIDES FOR NEW SECTIONS
   ============================================= */
@media (max-width: 767px) {
    /* Inner Hero */
    .sf-inner-hero { padding: 2rem 0; }
    .sf-inner-hero-title { font-size: 1.75rem; }
    .sf-inner-hero-desc { font-size: 1rem; }
    .sf-inner-hero-price-amount { font-size: 2.25rem; }
    .sf-inner-hero-image { height: 200px; }
    .sf-inner-hero-actions { gap: 1rem; }

    /* Plans */
    .sf-plans-title { font-size: 1.75rem; }
    .sf-plans-grid { grid-template-columns: 1fr !important; max-width: 28rem; margin-left: auto; margin-right: auto; }
    .sf-plan-popular { transform: none; }
    .sf-plan-popular:hover { transform: none; }
    .sf-plan-price-amount { font-size: 2rem; }

    /* Why Choose */
    .sf-why-title { font-size: 1.5rem; }
    .sf-why-grid { grid-template-columns: 1fr 1fr; }

    /* CTA */
    .sf-simple-cta { padding: 3rem 0; }
    .sf-simple-cta-title { font-size: 1.5rem; }
    .sf-simple-cta-btn { padding: 0.875rem 2rem; font-size: 1rem; }
}

@media (max-width: 480px) {
    .sf-why-grid { grid-template-columns: 1fr; }
    .sf-inner-hero-actions { flex-direction: column; align-items: flex-start; }
    .sf-dash-stats { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   LOGIN / AUTH PAGES
   ============================================= */
.sf-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 2rem 1rem;
}
.sf-login-container {
    width: 100%;
    max-width: 28rem;
}
.sf-login-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    overflow: hidden;
}
.sf-login-header {
    text-align: center;
    padding: 2rem 2rem 0;
}
.sf-login-logo {
    margin-bottom: 1.5rem;
}
.sf-login-logo img {
    height: 2rem;
}
.sf-login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}
.sf-login-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}
.sf-login-form {
    padding: 1.5rem 2rem 2rem;
}
.sf-login-field {
    margin-bottom: 1.25rem;
}
.sf-login-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.375rem;
}
.sf-login-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.375rem;
}
.sf-login-label-row label {
    margin-bottom: 0;
}
.sf-login-forgot {
    font-size: 0.8rem;
    font-weight: 500;
    color: #b91c1c;
}
.sf-login-forgot:hover {
    color: #991b1b;
}
.sf-login-input-wrap {
    position: relative;
}
.sf-login-input-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.sf-login-input-wrap .form-control {
    padding-left: 2.75rem;
    height: auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.sf-login-remember {
    margin-bottom: 1.25rem;
}
.sf-login-remember label {
    font-size: 0.875rem;
    font-weight: 400;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sf-login-captcha {
    margin-bottom: 1.25rem;
}
.sf-login-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #b91c1c;
    color: #fff;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(185,28,28,0.25);
}
.sf-login-btn:hover {
    background: #991b1b;
    box-shadow: 0 10px 15px -3px rgba(185,28,28,0.3);
}
.sf-login-divider {
    text-align: center;
    padding: 0 2rem;
    position: relative;
}
.sf-login-divider::before {
    content: '';
    position: absolute;
    left: 2rem;
    right: 2rem;
    top: 50%;
    height: 1px;
    background: #e2e8f0;
}
.sf-login-divider span {
    position: relative;
    background: #fff;
    padding: 0 0.75rem;
    color: #64748b;
    font-size: 0.8rem;
}
.sf-login-social {
    padding: 1rem 2rem;
}
.sf-login-footer {
    text-align: center;
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid #e2e8f0;
}
.sf-login-footer p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}
.sf-login-footer a {
    font-weight: 600;
    color: #b91c1c;
}
.sf-login-page .sf-alert {
    margin: 0 2rem 0;
}

/* =============================================
   WHMCS FORM PAGES (generic styling)
   ============================================= */
.sf-form-page {
    max-width: 40rem;
    margin: 0 auto;
}
.sf-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.sf-form-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}
.sf-form-card .form-group {
    margin-bottom: 1.25rem;
}

/* =============================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   Dark background matching React design
   ============================================= */
.sf-legal-page {
    background: linear-gradient(135deg, #0f172a, #1e293b, #0f172a);
    color: #e2e8f0;
    padding: 4rem 0;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
}
.sf-legal-page::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnoiIHN0cm9rZT0iIzFmMjkzNyIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9nPjwvc3ZnPg==");
}
.sf-legal-inner {
    position: relative;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) { .sf-legal-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .sf-legal-inner { padding: 0 2rem; } }
.sf-legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(185,28,28,0.1);
    border: 1px solid rgba(185,28,28,0.3);
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
    color: #fca5a5;
    font-size: 0.85rem;
    font-weight: 600;
}
.sf-legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
}
@media (min-width: 640px) { .sf-legal-title { font-size: 3rem; } }
@media (min-width: 1024px) { .sf-legal-title { font-size: 3.75rem; } }
.sf-legal-content {
    text-align: justify;
    line-height: 1.8;
    font-size: 0.95rem;
}
.sf-legal-content p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}
.sf-legal-content ol,
.sf-legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #cbd5e1;
}
.sf-legal-content li {
    margin-bottom: 0.5rem;
}
.sf-legal-content strong {
    color: #fff;
}
.sf-legal-content a {
    color: #f87171;
}
.sf-legal-content a:hover {
    color: #fca5a5;
}
