
/* --- Global Styles & Variables --- */
:root {
    /* Light Mode - WARM PALETTE */
    --primary-color: #FA812F;
    --primary-color-rgb: 250, 129, 47;
    --secondary-color: #FFB22C;
    --secondary-color-rgb: 255, 178, 44;
    --accent-color: #F3C623;
    --accent-color-rgb: 243, 198, 35;

    --bg-color: #FEF3E2;
    --text-color: #422C0F;
    --heading-color: #3B210A;
    --card-bg-color: #ffffff;
    --card-border-color: #F5E7D0;
    --card-shadow: 0 4px 15px rgba(200, 160, 100, 0.15);
    --link-color: var(--primary-color);
    --subtle-text-color: #7A5C3A;
    --nav-bg: #FFFBF2;
    --nav-text: var(--text-color);
    --nav-shadow: 0 2px 10px rgba(180, 150, 110, 0.1);
    --footer-bg: #3B210A;
    --footer-text: #FEF3E2;
    --footer-link-color: #FFB22C;
    --button-primary-bg: var(--primary-color);
    --button-primary-text: #ffffff;
    --button-secondary-border: var(--primary-color);
    --button-secondary-text: var(--primary-color);
    --button-secondary-hover-bg: var(--primary-color);
    --button-secondary-hover-text: #ffffff;
    --highlight-text-bg: rgba(var(--primary-color-rgb), 0.1);
    --ad-placeholder-bg: #E9E4DA;
    --ad-placeholder-border: #D3C6B1;
    --ad-placeholder-text: #7A5C3A;

    --header-height: 70px;
    --logo-container-height-nav: 45px;
    --logo-max-width-nav: 150px;

    --notification-badge-bg: red;
    --notification-badge-text: white;
    --notification-panel-bg: var(--card-bg-color);
    --notification-panel-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    --notification-item-border: var(--card-border-color);
    --notification-item-read-opacity: 0.6;

    /* Scrollbar Colors */
    --scrollbar-track: #F5E7D0;
    --scrollbar-thumb: linear-gradient(var(--primary-color), var(--secondary-color));
    --scrollbar-thumb-hover: linear-gradient(var(--accent-color), var(--primary-color));
}

body.dark-mode {
    /* Dark Mode - WARM PALETTE */
    --bg-color: #1A120B;
    --text-color: #FEF3E2;
    --heading-color: #FFF5E9;
    --card-bg-color: #2C1D0F;
    --card-border-color: #422C0F;
    --card-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    --link-color: #FFB22C;
    --subtle-text-color: #BCA28A;
    --nav-bg: #21160A;
    --nav-text: var(--text-color);
    --nav-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    --footer-bg: #110C07;
    --footer-text: #FEF3E2;
    --footer-link-color: #F3C623;

    --button-primary-bg: #FFB22C;
    --button-primary-text: #2C1D0F;
    --button-secondary-border: #FFB22C;
    --button-secondary-text: #FFB22C;
    --button-secondary-hover-bg: #FFB22C;
    --button-secondary-hover-text: #2C1D0F;
    --highlight-text-bg: rgba(var(--secondary-color-rgb), 0.15);
    --ad-placeholder-bg: #3A2C1F;
    --ad-placeholder-border: #503E2D;
    --ad-placeholder-text: #BCA28A;

    --notification-badge-bg: #E53935;
    --notification-badge-text: white;
    --notification-panel-bg: var(--card-bg-color);
    --notification-panel-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    --notification-item-border: var(--card-border-color);
    --notification-item-read-opacity: 0.5;

    /* Dark mode scrollbar colors */
    --scrollbar-track: #2C1D0F;
    --scrollbar-thumb: linear-gradient(var(--secondary-color), var(--accent-color));
    --scrollbar-thumb-hover: linear-gradient(var(--accent-color), var(--link-color));
}

/* Global scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
    border-width: 1px;
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--scrollbar-track);
    scroll-padding-top: var(--header-height);
    scroll-behavior: smooth;
}

body.dark-mode html {
    scrollbar-color: var(--secondary-color) var(--scrollbar-track);
}

/* Anchor/Link styling with theme support */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
}

a:hover {
    color: color-mix(in srgb, var(--link-color) 80%, var(--text-color));
}

body.dark-mode a:hover {
    color: color-mix(in srgb, var(--link-color) 80%, white);
}

/* Main content links hover effect (excluding navigation, buttons, etc.) */
main p a:not(.cta-button):hover {
    text-decoration: underline;
    text-decoration-color: var(--link-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

html {
    scroll-padding-top: var(--header-height);
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.highlight {
    background-image: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0 2px 5px rgba(100, 70, 30, 0.15);
    font-size: 0.95em;
    cursor: pointer;
}

.cta-button.small {
    padding: 6px 16px;
    font-size: 0.85em;
}

.cta-button.primary {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    border-color: var(--button-primary-bg);
}

.cta-button.primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--button-secondary-text);
    border: 2px solid var(--button-secondary-border);
}

.cta-button.secondary:hover {
    background-color: var(--button-secondary-hover-bg);
    color: var(--button-secondary-hover-text);
    transform: translateY(-3px) scale(1.03);
}

.cta-button.tertiary {
    background-color: var(--secondary-color);
    color: #FFF;
    border-color: var(--secondary-color);
}

.cta-button.tertiary:hover {
    background-color: color-mix(in srgb, var(--secondary-color) 90%, black);
    border-color: color-mix(in srgb, var(--secondary-color) 90%, black);
    transform: translateY(-2px);
}

.cta-button.massive {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* --- Navigation --- */
header {
    background-color: var(--nav-bg);
    box-shadow: var(--nav-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 15px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    max-height: var(--logo-container-height-nav);
    flex-shrink: 0;
}

.logo-image {
    display: block;
    max-width: var(--logo-max-width-nav);
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 70%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

body.dark-mode .nav-links a:hover,
body.dark-mode .nav-links a.active {
    color: var(--link-color);
}

.nav-center {
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.nav-cta {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    border-color: var(--button-primary-bg);
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.25);
}

/* Notification Toggle Button Styles */
.notification-toggle {
    background: none;
    border: none;
    color: var(--nav-text);
    font-size: 1.3em;
    cursor: pointer;
    padding: 5px;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
}

.notification-toggle:hover {
    color: var(--primary-color);
    transform: scale(1.1) rotate(-5deg);
}

body.dark-mode .notification-toggle:hover {
    color: var(--link-color);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background-color: var(--notification-badge-bg);
    color: var(--notification-badge-text);
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    font-size: 0.7em;
    font-weight: bold;
    line-height: 18px;
    text-align: center;
    padding: 0 5px;
    border: 1px solid var(--nav-bg);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle {
    background: none;
    border: none;
    color: var(--nav-text);
    font-size: 1.3em;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.dark-mode-toggle:hover {
    color: var(--primary-color);
    transform: scale(1.1) rotate(10deg);
}

body.dark-mode .dark-mode-toggle:hover {
    color: var(--link-color);
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
    color: var(--nav-text);
}

/* Notification Panel Styles */
.notification-panel {
    position: fixed;
    top: var(--header-height);
    right: 15px;
    width: 320px;
    max-height: 450px;
    overflow-y: auto;
    background-color: var(--notification-panel-bg);
    border: 1px solid var(--card-border-color);
    border-radius: 8px;
    box-shadow: var(--notification-panel-shadow);
    z-index: 999;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    /* Hide scrollbar but keep functionality */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide webkit scrollbar for notification panel */
.notification-panel::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome, Safari and Opera */
    width: 0;
    background: transparent;
}

/* Notification panel dark mode customization */
/* (Scrollbar is hidden in both modes) */

.notification-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.notification-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid var(--notification-item-border);
}

.notification-panel-header h4 {
    margin: 0;
    font-size: 1.1em;
    color: var(--heading-color);
}

.notification-panel-header .cta-button.small {
    padding: 4px 10px;
    font-size: 0.8em;
}

.notification-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notification-panel li {
    padding: 12px 15px;
    font-weight:600;
    border-bottom: 1px solid var(--notification-item-border);
    font-size: 0.9em;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.notification-panel li:last-child {
    border-bottom: none;
}

.notification-panel li.notification-read {
    /* opacity: var(--notification-item-read-opacity); */
    font-weight: 400;
}

.notification-panel li .notification-content {
    flex-grow: 1;
    margin-right: 10px;
    line-height: 1.5;
    /* Better for multi-line text with inline links */
}

/* Styling for links within the notification message content */
.notification-panel li .notification-content a {
    color: var(--link-color);
    /* Use main link color */
    text-decoration: underline;
    /* Explicitly underline inline links for clarity */
    font-weight: 500;
    /* Slightly bolder */
}

.notification-panel li .notification-content a:hover {
    color: color-mix(in srgb, var(--link-color) 80%, var(--text-color));
    /* Slightly darken on hover */
}

body.dark-mode .notification-panel li .notification-content a {
    color: var(--link-color);
    /* Amber in dark mode */
}

body.dark-mode .notification-panel li .notification-content a:hover {
    color: color-mix(in srgb, var(--link-color) 80%, var(--heading-color));
}

.notification-panel li .notification-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.notification-panel li .notification-date {
    font-size: 0.8em;
    color: var(--subtle-text-color);
    white-space: nowrap;
    margin-right: 8px;
}

.notification-panel li .mark-read-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 0.9em;
    padding: 2px 4px;
    margin-left: 5px;
    opacity: 0.7;
}

.notification-panel li .mark-read-btn:hover {
    opacity: 1;
    color: var(--primary-color);
}

.notification-panel li.notification-read .mark-read-btn {
    display: none;
}

.notification-panel .no-notifications {
    text-align: center;
    color: var(--subtle-text-color);
    padding: 20px 15px;
    display: block;
    border-bottom: none;
}

/* --- Ad Container Styling & Other Sections --- */
/* ... (Keep all these sections as they were, no changes needed for this request) ... */
.ad-container {
    width: 100%;
    margin: 30px auto;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ad-placeholder {
    background-color: var(--ad-placeholder-bg);
    border: 1px dashed var(--ad-placeholder-border);
    text-align: center;
    font-size: 0.9em;
    color: var(--ad-placeholder-text);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.ad-spot-1 .ad-placeholder {
    min-height: 90px;
    width: 100%;
    max-width: 728px;
}

.ad-spot-2 .ad-placeholder {
    min-height: 250px;
    max-height: 250px;
    width: 100%;
    max-width: 300px;
}

.ad-spot-3a .ad-placeholder {
    min-height: 90px;
    width: 100%;
    max-width: 728px;
}

@media (max-width: 768px) {
    .ad-spot-1 .ad-placeholder {
        min-height: 50px;
        max-width: 320px;
    }

    .ad-spot-1 {
        margin: 20px auto;
    }

    .ad-spot-2 .ad-placeholder,
    .ad-spot-3a .ad-placeholder {
        max-width: 320px;
        min-height: 50px;
    }

    .notification-panel {
        width: calc(100% - 30px);
        right: 15px;
        left: 15px;
    }
}

.hero-section {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.03), rgba(var(--secondary-color-rgb), 0.05)), var(--bg-color);
    color: var(--text-color);
    padding: 80px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.dark-mode .hero-section {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.08), rgba(var(--secondary-color-rgb), 0.1)), var(--bg-color);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-content .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--subtle-text-color);
}

.hero-cta-buttons .cta-button {
    margin: 0 10px;
}

.hero-image-placeholder {
    margin-top: 50px;
    position: relative;
}

.hero-image-placeholder img {
    max-width: min(450px, 80vw);
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(100, 70, 30, 0.1);
}

body.dark-mode .hero-image-placeholder img {
    box-shadow: 0 10px 30px rgba(var(--secondary-color-rgb), 0.15);
}

section {
    padding: 80px 0;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--subtle-text-color);
    margin-bottom: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.about-verto-section {
    background-color: var(--bg-color);
    border-top: 1px solid var(--card-border-color);
    border-bottom: 1px solid var(--card-border-color);
    transition: background-color 0.3s ease;
    padding: 5rem 0;
}

body.dark-mode .about-verto-section {
    background-color: var(--card-bg-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.about-text {
    flex: 1 1 55%;
    min-width: 300px;
}

.about-lead {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-text p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-mission {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(var(--primary-color-rgb), 0.08);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.about-mission h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-mission i {
    color: var(--primary-color);
}

.about-stats {
    flex: 1 1 35%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 1.5rem;
}

.stat-box {
    background: var(--card-bg-color);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border-color);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(var(--primary-color-rgb), 0.15);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.about-cta {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-box {
        flex: 1 1 calc(33.33% - 1rem);
        min-width: 100px;
    }
    
    .about-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .about-cta a {
        width: 100%;
        max-width: 320px;
    }
}

.solutions-section {
    transition: background-color 0.3s ease;
}

body.dark-mode .solutions-section {
    background-color: var(--bg-color);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.solution-card {
    background: var(--card-bg-color);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border-color);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 35px rgba(var(--primary-color-rgb), 0.2);
    border-color: var(--primary-color);
}

body.dark-mode .solution-card:hover {
    box-shadow: 0 12px 35px rgba(var(--secondary-color-rgb), 0.25);
    border-color: var(--secondary-color);
}

.solution-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
    background-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotateY(15deg);
}

.solution-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.solution-card p {
    font-size: 1rem;
    margin-bottom: 30px;
    min-height: 60px;
    color: var(--subtle-text-color);
}

.lpu-tools-section {
    transition: background-color 0.3s ease;
    padding-top: 60px;
    padding-bottom: 60px;
}

body.light-mode .lpu-tools-section {
    background-color: #FFFBF2;
}

body.dark-mode .lpu-tools-section {
    background-color: var(--card-bg-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tool-card {
    background: var(--card-bg-color);
    padding: 30px 25px;
    border-radius: 10px;
    border: 1px solid var(--card-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.35s ease-in-out;
    box-shadow: var(--card-shadow);
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 25px rgba(var(--accent-color-rgb), 0.25);
    border-color: var(--accent-color);
}

.tool-icon {
    font-size: 2.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    background-color: rgba(var(--accent-color-rgb), 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: rotate(10deg) scale(1.1);
    background-color: rgba(var(--accent-color-rgb), 0.15);
}

.tool-card h4 {
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.tool-card p {
    font-size: 0.95rem;
    color: var(--subtle-text-color);
    flex-grow: 1;
    margin-bottom: 20px;
}

.tool-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    padding: 5px 0;
    position: relative;
}

.tool-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.tool-link:hover::after {
    width: 100%;
}

.tool-link i {
    margin-left: 5px;
}

.tool-link.coming-soon {
    color: #B08D57;
    font-style: italic;
    cursor: default;
}

.all-tools-cta {
    text-align: center;
    margin-top: 40px;
}

.why-verto-section {
    transition: background-color 0.3s ease;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    text-align: center;
    padding: 25px;
    background-color: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--card-shadow);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(var(--secondary-color-rgb), 0.15);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    background-image: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.15);
}

.benefit-item h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.benefit-item p {
    color: var(--subtle-text-color);
}

.heart-beat {
    display: inline-block;
    animation: heartBeat 1.5s infinite ease-in-out;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(0.9);
    }

    20%,
    40%,
    60%,
    80% {
        transform: scale(1.1);
    }

    50%,
    70% {
        transform: scale(1.1);
    }
}

.join-us-section {
    background-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    text-align: center;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1100px;
    padding: 60px 30px;
}

.join-us-section h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    color: #fff;
}

.join-us-section p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.join-us-section .cta-button.primary {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.join-us-section .cta-button.primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: color-mix(in srgb, var(--primary-color) 85%, black);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 50px 0 30px;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr;
        text-align: left;
        align-items: start;
    }

    .footer-logo {
        display: block;
        align-items: initial;
    }
}

.footer-logo .logo-link {
    display: inline-block;
    height: 30px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 0.85em;
    margin-top: 0;
    line-height: 1.6;
    color: var(--footer-text);
}

.footer-links h4 {
    color: #FFF5E9;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.15em;
}

body.dark-mode .footer-links h4 {
    color: var(--heading-color);
}

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

.footer-links li a {
    color: var(--footer-link-color);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

body.dark-mode .footer-links li a:hover {
    color: var(--secondary-color);
}

/* --- Scroll Animation Classes --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
}

.fade-in {
    transform: translateY(30px);
}

.fade-in-up {
    transform: translateY(50px);
}

.slide-in-left {
    transform: translateX(-100px);
}

.slide-in-right {
    transform: translateX(100px);
}

.zoom-in {
    transform: scale(0.8);
}

.animate-on-scroll.is-visible.fade-in,
.animate-on-scroll.is-visible.fade-in-up,
.animate-on-scroll.is-visible.slide-in-left,
.animate-on-scroll.is-visible.slide-in-right,
.animate-on-scroll.is-visible.zoom-in {
    transform: translate(0, 0) scale(1);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .nav-center {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: var(--header-height);
        left: 0;
        background-color: var(--nav-bg);
        box-shadow: 0 5px 10px rgba(100, 70, 30, 0.1);
        padding: 10px 0;
        border-top: 1px solid var(--card-border-color);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid var(--card-border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links li a {
        display: block;
        padding: 15px 25px;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }

    .nav-links li a::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-right {
        gap: 10px;
    }

    .hero-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .hero-cta-buttons .cta-button {
        margin-bottom: 10px;
        display: block;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .solutions-grid,
    .tools-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .join-us-section h2 {
        font-size: 2rem;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .footer-links {
        margin-top: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-right {
        gap: 8px;
    }

    .nav-cta {
        padding: 8px 14px;
        font-size: 0.8em;
    }

    .notification-toggle,
    .dark-mode-toggle {
        font-size: 1.1em;
    }

    .notification-badge {
        top: -3px;
        right: -5px;
        min-width: 16px;
        height: 16px;
        font-size: 0.65em;
        line-height: 16px;
        padding: 0 4px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cta-button:not(.nav-cta) {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .cta-button.massive {
        padding: 15px 30px;
        font-size: 1em;
    }

    .solution-card,
    .tool-card,
    .benefit-item {
        padding: 20px;
    }

    .notification-panel {
        width: calc(100% - 20px);
        left: 10px;
        right: 10px;
    }

    .notification-panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .notification-panel-header #markAllReadButton {
        align-self: flex-end;
    }
}

/* --- Notification Toast & Animations --- */
.notification-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.5s ease;
    font-weight: bold;
}

.notification-toast.fade-out {
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 0.5s ease-in-out 2;
}

/* For dark mode */
body.dark-mode .notification-toast {
    background-color: var(--primary-dark-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}