* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    color: #222;
}

section {
    padding: 70px 10%;
}

h1, h2 {
    margin-bottom: 20px;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #0f172a;
    color: #fff;
}

.hero-content {
    flex: 1;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-image img {
    max-width: 320px;
}

.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    text-decoration: none;
    font-weight: bold;
}

.primary {
    background: #ef4444;
    color: #fff;
}

.problem ul {
    list-style: none;
    padding: 0;
}

.problem li {
    margin-bottom: 10px;
}

.problem-line {
    margin-top: 20px;
    font-weight: bold;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.benefit {
    background: #f1f5f9;
    padding: 20px;
    font-weight: bold;
}

.testimonial {
    background: #f8fafc;
    padding: 25px;
    margin-top: 20px;
}

.author {
    display: flex;
    gap: 30px;
    align-items: center;
}

.author img {
    width: 200px;
    border-radius: 12px;
}

.cta {
    background: #ef4444;
    color: #fff;
    text-align: center;
}

footer {
    background: #020617;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* Tooltip container */
.hover-comment {
    position: absolute;
    background: #ef4444;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

/* Small arrow */
.hover-comment::after {
    content: "";
    position: absolute;
    width: 0; 
    height: 0; 
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #ef4444;
    bottom: -6px; 
    left: 50%;
    transform: translateX(-50%);
}

/* Scale-up testimonial on hover */
.testimonial.hovered {
    transform: scale(1.03);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    cursor: pointer;
}

/* Interactive blue hover frame for readable content */
.read-hover {
    position: relative;
    transition:
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.read-hover:hover {
    box-shadow:
        0 0 0 2px #2563eb,
        0 8px 20px rgba(37, 99, 235, 0.25);
    background-color: rgba(37, 99, 235, 0.03);
    border-radius: 8px;
}

.faq {
    background: #f8fafc;
}

.faq-subtitle {
    margin-bottom: 40px;
    opacity: 0.8;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    width: 100%;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 20px;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: border 0.2s ease;
}

.faq-question:hover {
    border-color: #3b82f6; /* μπλε frame */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 15px 20px 25px;
}

.icon {
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.faq-item.active .icon {
    transform: rotate(45deg); /* + γίνεται × */
}

.hero-image img {
    max-width: 320px;
    border: 2px solid #2f80ff; /* μπλε πλαίσιο */
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05); /* μικρή μεγέθυνση στο hover */
    border-color: #1e40af; /* πιο σκούρο μπλε */
}
