/* Reset and Base Styles - Updated Color Scheme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff4c4c;      /* Red for danger/attention */
    --primary-dark: #e60000; /* Darker red */
    --primary-light: #ff6666; /* Lighter red */
    --secondary: #0099e5;    /* Blue for information/links */
    --secondary-dark: #0077b3; /* Darker blue */
    --accent: #34bf49;       /* Green for safety/success */
    --success: #34bf49;      /* Green */
    --warning: #ff9900;      /* Orange */
    --danger: #ff4c4c;       /* Red */
    --info: #0099e5;         /* Blue */
    
    --text-dark: #000000;    /* Black for main text */
    --text-medium: #333333;  /* Dark gray */
    --text-light: #666666;   /* Medium gray */
    
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;     /* Light background */
    --bg-lighter: #f0f4f8;   /* Lighter background */
    --bg-dark: #1a1a1a;      /* Dark footer background */
    
    --border: #e0e0e0;
    --border-light: #eeeeee;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --font-main: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    min-height: 100vh;
}

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

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.tagline {
    font-size: 1rem;
    opacity: 0.9;
}

.coffee-btn {
    background: linear-gradient(135deg, var(--accent), #28a745);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
}

.coffee-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Amazon Banner */
.amazon-banner {
    background: linear-gradient(135deg, #1a1a1a, #333333);
    padding: 15px 0;
}

.amazon-link {
    text-decoration: none;
    display: block;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    flex-wrap: wrap;
    gap: 15px;
}

.banner-badge {
    background: var(--secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

.banner-text {
    font-size: 1.2rem;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.banner-cta {
    background: white;
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.amazon-link:hover .banner-cta {
    background: var(--secondary);
    color: white;
}

/* Introduction Section */
.intro-section {
    margin: 30px 0;
}

.intro-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
}

.intro-card h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.objective-box, .privacy-box {
    background: var(--bg-lighter);
    padding: 20px;
    border-radius: var(--radius);
    margin: 20px 0;
    border-left: 4px solid var(--secondary);
}

.privacy-box {
    border-left-color: var(--accent);
}

.objective-box h3, .privacy-box h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-box ul {
    list-style: none;
    padding-left: 0;
}

.privacy-box li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.privacy-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Enhanced Tools Section */
.enhanced-tools-section {
    margin: 50px 0;
    padding: 40px 0;
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
}

.enhanced-tools-section .section-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2rem;
    border-bottom: none;
}

.tools-intro {
    text-align: center;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.tools-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tools-category {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}

.tools-category:nth-child(2) {
    border-top-color: var(--accent);
}

.tools-category:nth-child(3) {
    border-top-color: var(--secondary);
}

.category-title {
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-link-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--bg-lighter);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-dark);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tool-link-item:hover {
    border-color: var(--secondary);
    transform: translateX(5px);
    background: white;
    box-shadow: var(--shadow);
}

.tool-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.tool-info {
    flex: 1;
}

.tool-info h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1rem;
}

.tool-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

.tool-arrow {
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-link-item:hover .tool-arrow {
    opacity: 1;
}

/* Visitor Counter */
.visitor-counter {
    margin: 30px 0;
}

.counter-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
}

.counter-icon {
    font-size: 2rem;
}

.counter-info {
    text-align: center;
    flex: 1;
}

.counter-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.counter-value {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.counter-update {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Tools Section */
.tools-section {
    margin: 30px 0;
}

.tools-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--warning);
}

.tools-card h3 {
    color: var(--warning);
    margin-bottom: 15px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.tool-card {
    background: var(--bg-lighter);
    padding: 25px;
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: block;
}

.tool-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tool-card .tool-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    width: auto;
}

.tool-card h4 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.tool-card p {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.tool-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-link {
    border-bottom-color: var(--primary);
}

/* Expert Section */
.expert-section {
    margin: 30px 0;
}

.expert-card {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.expert-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info {
    margin-top: 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.contact-card h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.role {
    color: #bbdefb;
    margin-bottom: 15px;
    font-style: italic;
}

.contact-details p {
    margin: 8px 0;
    line-height: 1.5;
}

.social-media-links {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.social-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.website-link {
    display: inline-block;
    background: white;
    color: var(--secondary);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--radius);
    margin-top: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.website-link:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Form Styles */
.assessment-form {
    margin: 40px 0;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 10px;
}

.required-note {
    color: var(--text-medium);
    font-style: italic;
}

.form-section {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.section-title {
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Question Blocks */
.question-block {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-lighter);
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
}

.question-block.required {
    border-left-color: var(--primary);
}

.question-label {
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.image-hint {
    background: #e3f2fd;
    padding: 10px 15px;
    border-radius: var(--radius);
    margin: 10px 0 15px;
    border-left: 3px solid var(--info);
}

.hint-text {
    color: var(--secondary);
    font-weight: 500;
    font-style: italic;
}

/* Radio Options */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.radio-option:hover {
    border-color: var(--primary-light);
    background: #fff5f5;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-btn {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-light);
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-btn {
    border-color: var(--primary);
    background: var(--primary);
}

.radio-option input[type="radio"]:checked + .radio-btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.option-text {
    font-weight: 500;
}

/* Input Styles */
.input-group {
    max-width: 300px;
}

.number-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.number-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 76, 76, 0.1);
}

.input-hint {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 8px;
    font-style: italic;
}

/* Progress Section */
.progress-section {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    margin: 40px 0;
    box-shadow: var(--shadow);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-label {
    font-weight: 600;
    color: var(--text-dark);
}

.progress-percent {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.progress-bar {
    height: 10px;
    background: var(--border-light);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 5px;
}

.progress-stats {
    text-align: center;
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* Submit Section */
.submit-section {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.submit-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
}

.info-icon {
    font-size: 1.2rem;
}

.privacy-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 20px;
    line-height: 1.5;
}

/* Footer */
.main-footer {
    background: var(--bg-dark);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-brand p {
    color: #cfd8dc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: #bbdefb;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: #bbdefb;
    margin-bottom: 20px;
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cfd8dc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.tools-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tools-links a {
    color: #cfd8dc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.tools-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-footer p {
    color: #cfd8dc;
    margin: 8px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-footer a {
    color: #bbdefb;
    text-decoration: none;
}

.contact-footer a:hover {
    text-decoration: underline;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.contact-btn, .support-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

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

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

.contact-btn:hover, .support-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    border-top: 1px solid #37474f;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #cfd8dc;
    margin: 5px 0;
    font-size: 0.9rem;
}

.disclaimer-text {
    color: #78909c;
    font-size: 0.8rem;
    margin-top: 10px;
}

.visitor-note {
    color: var(--accent);
    font-weight: bold;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-section h1 {
        font-size: 1.5rem;
    }
    
    .banner-text {
        font-size: 1rem;
    }
    
    .tools-category-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-option {
        min-width: 100%;
    }
    
    .submit-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    
    .counter-card {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .intro-card, .form-section, .submit-section, .tools-card {
        padding: 20px;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .coffee-btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
}
