/* Minimalist Black & White Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #000;
    background: #fff;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0 1.2rem 0;
    background: #fff;
    border-bottom: 1px solid #000;
    border-radius: 0;
    margin-bottom: 2rem;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
}

.logo i {
    font-size: 1.5rem;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 0.1em 0.5em;
    border-radius: 3px;
    transition: background 0.2s;
}

.nav-link:hover,
.nav-link.active {
    background: #000;
    color: #fff;
}

.main {
    margin-bottom: 3rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 1.5rem 0;
    width: 100%;
}

.hero-content {
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    color: #000;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.2rem;
    color: #222;
    opacity: 0.8;
    font-weight: 400;
}

.email-checker {
    background: #fff;
    border-radius: 6px;
    padding: 1.2rem;
    border: 1px solid #000;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 1.2rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 3px;
    border: 1px solid #000;
    width: 100%; /* Ensure full width */
    min-width: 0;
}

.input-icon {
    position: absolute;
    left: 0.8rem;
    color: #000;
    font-size: 1rem;
    z-index: 2;
}

.email-input {
    flex: 1 1 0%;
    min-width: 0;
    padding: 0.8rem 0.8rem 0.8rem 2.2rem;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    color: #000;
}

.email-input::placeholder {
    color: #888;
}

.check-button {
    white-space: nowrap;
    flex-shrink: 0;
    background: #000;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.2s;
    border-left: 1px solid #000;
}

.check-button:hover {
    background: #222;
}

.check-button:active {
    background: #000;
}

.results {
    background: #fff;
    border-radius: 6px;
    padding: 1.2rem;
    margin-top: 1rem;
    border: 1px solid #000;
    transition: all 0.2s;
}

.results.hidden {
    display: none;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #eee;
}

.result-header h3 {
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
}

.result-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.result-score span {
    display: block;
    font-size: 0.9rem;
    color: #222;
    margin-bottom: 0.3rem;
}

/* Removed circle component styles - no longer needed */

/* Dynamic score colors for both circle and number */
.score-very-low {
    border-color: #1a7f37 !important;
    color: #1a7f37 !important;
}
.score-low {
    border-color: #4ade80 !important;
    color: #4ade80 !important;
}
.score-moderate {
    border-color: #e67e22 !important;
    color: #e67e22 !important;
}
.score-high {
    border-color: #a33 !important;
    color: #a33 !important;
}

/* Legacy classes for backward compatibility */
.score-excellent {
    border-color: #1a7f37 !important;
    color: #1a7f37 !important;
}
.score-good {
    border-color: #2d7ff9 !important;
    color: #2d7ff9 !important;
}
.score-fair {
    border-color: #e6b800 !important;
    color: #e6b800 !important;
}
.score-poor {
    border-color: #e67e22 !important;
    color: #e67e22 !important;
}
.score-very-poor {
    border-color: #a33 !important;
    color: #a33 !important;
}

/* Risk Level Dynamic Colors */
.risk-level-dynamic {
    font-weight: 700;
    transition: color 0.3s;
}

.risk-level-dynamic.very-low {
    color: #1a7f37;
}

.risk-level-dynamic.low {
    color: #4ade80;
}

.risk-level-dynamic.moderate {
    color: #e67e22;
}

.risk-level-dynamic.high {
    color: #a33;
}

/* Risk Sentence Styling */
.risk-sentence {
    text-align: center;
    font-size: 1.2rem;
    color: #333;
    margin: 1rem 0;
    line-height: 1.5;
    font-weight: 400;
}

/* Risk Scores Section */
.risk-scores-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.risk-scores-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.risk-scores-header:hover {
    background-color: #e9ecef;
    color: #212529;
}

.risk-scores-header i {
    color: #6c757d;
    font-size: 0.9rem;
}

.risk-scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.risk-score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: white;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.risk-theme {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

.risk-score-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    font-family: 'Courier New', monospace;
}

/* Tooltip Modal Styles */
.tooltip-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.tooltip-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: tooltipFadeIn 0.3s ease-out;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.tooltip-header h4 {
    margin: 0;
    color: #212529;
    font-size: 1.2rem;
    font-weight: 600;
}

.tooltip-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.tooltip-close:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.tooltip-body {
    padding: 1.5rem;
}

.tooltip-examples h5 {
    margin: 0 0 0.75rem 0;
    color: #212529;
    font-size: 1rem;
    font-weight: 600;
}

.tooltip-examples ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #495057;
}

.tooltip-examples li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.tooltip-examples strong {
    color: #212529;
}

/* Legacy classes for backward compatibility */
.success {
    border-color: #22c55e;
    color: #22c55e;
    background: #f0fdf4;
}

.error {
    border-color: #dc2626;
    color: #dc2626;
    background: #fef2f2;
}

.warning {
    border-color: #ca8a04;
    color: #ca8a04;
    background: #fefce8;
}

.result-details {
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #111;
    font-size: 0.98rem;
}

.detail-item i {
    color: #000;
    font-size: 1rem;
}

.valid-icon {
    color: #000;
}



/* Features Section */
.features {
    background: #fff;
    border-radius: 6px;
    padding: 2.5rem 1.2rem;
    margin-bottom: 2.5rem;
    border: 1px solid #000;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.features h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 1.2rem;
    border-radius: 3px;
    background: #fff;
    border: 1px solid #000;
    transition: background 0.2s;
}

.feature-card:hover {
    background: #fafafa;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 1px solid #000;
}

.feature-icon i {
    font-size: 1.2rem;
    color: #000;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
}

.feature-card p {
    color: #222;
    line-height: 1.5;
    font-size: 0.98rem;
}

.footer {
    background: #fff;
    color: #000;
    border-radius: 0;
    border-top: 1px solid #000;
    overflow: hidden;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1.2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 0.7rem;
    font-size: 1rem;
    font-weight: 700;
}

.footer-section a {
    display: block;
    color: #000;
    text-decoration: none;
    margin-bottom: 0.3rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #888;
}

.footer-bottom {
    background: #fff;
    padding: 0.7rem 1.2rem;
    text-align: center;
    color: #000;
    border-top: 1px solid #000;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary, .btn-secondary {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Premium Features */
.premium-feature {
    position: relative;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border: 2px solid #e0e6ff;
}

.premium-icon {
    color: #ffd700;
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.premium-locked {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.premium-lock-text {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
}

.premium-upgrade-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.premium-upgrade-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.premium-text {
    color: #667eea;
    font-weight: 600;
}

/* Pricing Section */
.pricing {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.pricing-header h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.price span {
    font-size: 1rem;
    color: #718096;
    font-weight: 400;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
}

.pricing-features i.fa-check {
    color: #48bb78;
}

.pricing-features i.fa-times {
    color: #e53e3e;
}

.pricing-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    background: #e2e8f0;
    color: #4a5568;
}

.pricing-btn.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #718096;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f7fafc;
    color: #2d3748;
}

.modal-body {
    padding: 2rem;
}

.premium-benefits h4 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.premium-benefits ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.premium-benefits li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
}

.premium-benefits i {
    color: #667eea;
    width: 20px;
}

.premium-pricing {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border-radius: 12px;
}

.price-display {
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
}

.price-period {
    font-size: 1rem;
    color: #718096;
}

.price-description {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

.premium-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.upgrade-now-btn {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 1rem 0;
    }
    .hero-content {
        max-width: 100%;
    }
    .email-checker {
        width: 100%;
        max-width: 100%;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .header {
        flex-direction: column;
        gap: 0.7rem;
    }
    .nav {
        gap: 0.7rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .header-actions {
        display: none;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .premium-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    .hero-title {
        font-size: 1.1rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .email-checker {
        padding: 0.7rem;
        width: 100%;
        transform: none;
    }
    .check-button {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
    .features {
        padding: 1rem 0.5rem;
    }
    .features h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .input-wrapper {
        flex-direction: row;
        width: 100%;
    }
    .email-input {
        font-size: 0.95rem;
        padding: 0.7rem 0.7rem 0.7rem 2.0rem;
    }
    .check-button {
        font-size: 0.95rem;
        padding: 0.7rem 1.1rem;
    }
}

.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #eee;
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
} 

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    animation: notificationSlideIn 0.3s ease-out;
}

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-success {
    border-left: 4px solid #48bb78;
}

.notification-info {
    border-left: 4px solid #667eea;
}

.notification-warning {
    border-left: 4px solid #ed8936;
}

.notification-error {
    border-left: 4px solid #e53e3e;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-success .notification-content i {
    color: #48bb78;
}

.notification-info .notification-content i {
    color: #667eea;
}

.notification-warning .notification-content i {
    color: #ed8936;
}

.notification-error .notification-content i {
    color: #e53e3e;
}

.notification-close {
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: #f7fafc;
    color: #2d3748;
}

/* Pro Active Button */
.btn-primary.pro-active {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    position: relative;
}

.btn-primary.pro-active::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
}

.btn-primary.pro-active:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
} 