/* HostHive Modern Theme - Clean Light Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Modern Clean Light Theme Color Scheme */
    --primary: #007AFF;       /* iOS System Blue */
    --primary-light: #5AC8FA; /* Light Blue */
    --primary-dark: #0056CC;  /* Dark Blue */
    --secondary: #10B981;     /* Emerald Green */
    --secondary-light: #34D399; /* Light Green */
    --secondary-dark: #059669;  /* Dark Green */
    --background: #FFFFFF;    /* Pure White */
    --background-secondary: #F8F9FA; /* Very Light Gray */
    --card-bg: #FFFFFF;       /* White Cards */
    --text: #1C1C1E;          /* Strong Dark Text */
    --text-light: #6B7280;    /* Medium Gray Text */
    --text-lighter: #9CA3AF;  /* Light Gray Text */
    --text-dark: #111827;     /* Extra Dark Text */
    --text-white: #FFFFFF;
    --border-color: #E5E7EB;  /* Light Border */
    --border-light: #F3F4F6;  /* Very Light Border */
    --hover: rgba(0, 122, 255, 0.08);
    
    /* Gradients */
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-light: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    
    /* Modern Light Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Borders */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-sm: 4px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Global Reset & Base Styles */
*, *:before, *:after {
    box-sizing: border-box;
}

body, html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.875rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.6;
}

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

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-transform: none;
    font-size: 0.875rem;
    letter-spacing: 0;
    box-shadow: none;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(29, 155, 240, 0.2);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--secondary-dark);
    color: white;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text);
}

.btn-outline:hover {
    background-color: var(--background-secondary);
    border-color: var(--text-lighter);
    color: var(--text-dark);
    transform: translateY(-1px);
}

.btn-link {
    background: none;
    box-shadow: none;
    color: var(--primary);
    padding: 0.5rem 0;
    position: relative;
}

.btn-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.btn-link:hover::before {
    width: 100%;
}

/* Cards and Panels */
.panel, .card {
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

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

.panel-heading, .card-header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 1.5rem 1rem;
}

.panel-body, .card-body {
    padding: 1.5rem;
}

.panel-footer, .card-footer {
    background-color: var(--background-secondary);
    border-top: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
}

/* Form Elements */
.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    box-shadow: none;
    transition: all 0.2s ease;
    height: auto;
    font-size: 0.9375rem;
    background-color: var(--background);
    color: var(--text);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--hover);
    outline: none;
    background-color: var(--background);
}

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

/* Tables */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: var(--card-bg);
}

.table thead th {
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: var(--background-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    background-color: var(--card-bg);
}

.table-hover tbody tr {
    transition: var(--transition);
}

.table-hover tbody tr:hover {
    background-color: var(--background-secondary);
}

/* Navigation */
#header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-main {
    background: var(--gradient);
    border: none;
    box-shadow: var(--shadow-md);
    padding: 0;
}

.navbar-main .navbar-nav > li > a {
    color: white;
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li > a:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hosthive-hero {
    background: var(--gradient);
    padding: 6rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hosthive-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hosthive-hero h1 {
    color: white;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hosthive-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Domain Search Form */
.domain-search-form {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.domain-search-form .input-group {
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.domain-search-form .form-control {
    height: 70px;
    border: none;
    font-size: 1.25rem;
    padding-left: 1.5rem;
}

.domain-search-form .input-group-btn .btn {
    height: 70px;
    padding: 0 2rem;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Feature Boxes */
.feature-box {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.feature-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: bottom right;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-box:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.feature-box.featured {
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.03);
}

.feature-box.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 1.25rem;
    right: -2rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

/* Footer Styling */
#footer {
    background-color: var(--background);
    color: var(--text-light);
    padding: 5rem 0 3rem;
    position: relative;
    border-top: 1px solid var(--border-color);
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 3px;
    background-color: var(--primary);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

/* Client Area Dashboard */
.client-home-panels {
    margin-top: 2rem;
}

.client-home-panels .panel-accent-primary {
    border-top: none;
    position: relative;
}

.client-home-panels .panel-accent-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

/* 3D Secure Page */
.secure-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin: 4rem auto;
    max-width: 700px;
    padding: 2rem;
    position: relative;
}

.secure-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.secure-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(100, 181, 246, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.secure-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.submit-3d {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

/* Login Page */
.logincontainer {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin: 4rem auto;
    max-width: 500px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.logincontainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-light);
}

.login-social-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.login-social-divider span {
    flex: 1;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.login-social-divider p {
    margin: 0 1rem;
    color: var(--text-light);
}

/* Animations and Effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .hosthive-hero {
        padding: 4rem 0 3rem;
    }
    
    .hosthive-hero h1 {
        font-size: 2rem;
    }
    
    .hosthive-hero .lead {
        font-size: 1.25rem;
    }
    
    .domain-search-form .form-control,
    .domain-search-form .input-group-btn .btn {
        height: 60px;
        font-size: 1rem;
    }
}
