/* Nexshi - Modern Email Validation Tool */
/* Brand colors: Teal #4a90a4 to Green #2ecc71 gradient */

:root {
    --nexshi-teal: #4a90a4;
    --nexshi-green: #2ecc71;
    --nexshi-dark: #0a0a0f;
    --nexshi-card: #12121a;
    --nexshi-border: rgba(255, 255, 255, 0.08);
    --nexshi-gradient: linear-gradient(135deg, #4a90a4 0%, #2ecc71 100%);
    --nexshi-glow: 0 0 40px rgba(74, 144, 164, 0.3);
}

/* Global styles */
body {
    background: var(--nexshi-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Modern buttons */
.btn-primary {
    background: var(--nexshi-gradient) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--nexshi-teal) !important;
    color: var(--nexshi-teal) !important;
    background: transparent !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--nexshi-gradient) !important;
    border-color: transparent !important;
    color: white !important;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.btn-light {
    background: white !important;
    color: #0a0a0f !important;
    font-weight: 600;
    border-radius: 12px;
    border: none !important;
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Modern navbar */
.navbar {
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.8) !important;
    border-bottom: 1px solid var(--nexshi-border) !important;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--nexshi-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: white !important;
}

/* Modern cards */
.card {
    background: var(--nexshi-card) !important;
    border: 1px solid var(--nexshi-border) !important;
    border-radius: 20px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(74, 144, 164, 0.3) !important;
    box-shadow: var(--nexshi-glow);
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--nexshi-border) !important;
    padding: 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Glass effect cards */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--nexshi-border);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(74, 144, 164, 0.3);
    transform: translateY(-5px);
}

/* Form styling */
.form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--nexshi-border) !important;
    border-radius: 12px !important;
    color: white !important;
    padding: 0.875rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--nexshi-teal) !important;
    box-shadow: 0 0 0 4px rgba(74, 144, 164, 0.15) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-group-text {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--nexshi-border) !important;
    border-radius: 12px 0 0 12px !important;
    color: rgba(255, 255, 255, 0.6);
}

.form-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

/* Text colors */
.text-primary {
    color: var(--nexshi-teal) !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Gradient text */
.gradient-text {
    background: var(--nexshi-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern footer */
footer {
    background: var(--nexshi-dark) !important;
    border-top: 1px solid var(--nexshi-border) !important;
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--nexshi-green) !important;
}

/* Hero section */
.hero-section {
    background: radial-gradient(ellipse at top, rgba(74, 144, 164, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(46, 204, 113, 0.1) 0%, transparent 50%),
                var(--nexshi-dark);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(74, 144, 164, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Glow effect */
.glow {
    box-shadow: var(--nexshi-glow);
}

/* Stats cards */
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--nexshi-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(74, 144, 164, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--nexshi-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

/* Feature cards */
.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nexshi-border);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(74, 144, 164, 0.3);
    transform: translateY(-8px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--nexshi-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(74, 144, 164, 0.3);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* Pricing cards */
.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nexshi-border);
    border-radius: 28px;
    padding: 3rem 2rem;
    height: 100%;
    transition: all 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(74, 144, 164, 0.4);
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(74, 144, 164, 0.1) 0%, rgba(46, 204, 113, 0.05) 100%);
    border-color: rgba(74, 144, 164, 0.4);
    position: relative;
    transform: scale(1.02);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nexshi-gradient);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: top;
    opacity: 0.7;
}

.price-period {
    font-size: 1rem;
    opacity: 0.6;
}

/* Feature list */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--nexshi-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Alerts */
.alert {
    border-radius: 16px;
    border: none;
    padding: 1.25rem;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
}

.alert-info {
    background: rgba(74, 144, 164, 0.1);
    border-left: 4px solid var(--nexshi-teal);
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    border-left: 4px solid var(--nexshi-green);
}

.alert-danger {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
}

/* Progress bar */
.progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
}

.progress-bar {
    background: var(--nexshi-gradient) !important;
    border-radius: 10px;
}

/* Tables */
.table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
    --bs-table-hover-bg: rgba(74, 144, 164, 0.1);
    border-color: var(--nexshi-border) !important;
}

.table thead {
    background: rgba(255, 255, 255, 0.03);
}

.table-dark {
    --bs-table-bg: rgba(255, 255, 255, 0.05);
}

/* Spinner */
.spinner-border {
    color: var(--nexshi-teal) !important;
}

/* Dropdown */
.dropdown-menu {
    background: var(--nexshi-card) !important;
    border: 1px solid var(--nexshi-border) !important;
    border-radius: 16px !important;
    padding: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(74, 144, 164, 0.2);
    color: white;
}

/* Status badges */
.status-valid, .status-exists {
    color: var(--nexshi-green);
    font-weight: 600;
}

.status-invalid, .status-not-exists, .status-error {
    color: #e74c3c;
    font-weight: 600;
}

.status-unverifiable {
    color: #f39c12;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: var(--nexshi-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Testimonials */
.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nexshi-border);
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(74, 144, 164, 0.3);
}

/* Steps */
.step-number {
    width: 60px;
    height: 60px;
    background: var(--nexshi-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 10px 30px rgba(74, 144, 164, 0.3);
}

/* Accordion */
.accordion-button {
    background: transparent !important;
    color: white !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(74, 144, 164, 0.1) !important;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nexshi-border) !important;
    border-radius: 16px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

/* Modal */
.modal-content {
    background: var(--nexshi-card);
    border: 1px solid var(--nexshi-border);
    border-radius: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .price {
        font-size: 3rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Email input textarea */
textarea.form-control {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

/* Summary stats */
.summary-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--nexshi-border);
}
