/* Hero */
.hero {
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: var(--white);
    padding: calc(80px + var(--header-height)) 0 120px;
    position: relative;
    overflow: hidden;
    margin-top: calc(-1 * var(--header-height));
}

.hero-logo {
    margin-bottom: 80px;
    opacity: 1;
    transition: opacity 0.1s ease;
}

body.is-scrolled .hero-logo {
    opacity: 0;
    pointer-events: none;
}

.hero-logo img {
    max-width: 480px;
    height: auto;
}


.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--white);
    transform: skewY(-2deg);
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(240, 70, 36, 0.1);
    color: var(--primary);
    border: 1px solid rgba(240, 70, 36, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #cbd5e1;
    line-height: 1.6;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding: 40px;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--gray);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    min-height: 40px;
}

.pricing-features {
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 800;
}

.pricing-features li.disabled {
    color: #cbd5e1;
    text-decoration: line-through;
}

.pricing-features li.disabled::before {
    content: '×';
    color: #cbd5e1;
}

.pricing-footer {
    text-align: center;
}

.pricing-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 15px;
}

.pricing-info-tag {
    display: inline-block;
    background: var(--gray-light);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 20px;
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
    margin-top: 50px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Target Groups */
.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.target-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--gray);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.target-card span {
    color: var(--dark);
    font-size: 1.1rem;
}

.target-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.target-icon svg {
    width: 28px;
    height: 28px;
}

.target-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.target-card:hover .target-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(-5deg) scale(1.1);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--gray);
}

.faq-question {
    padding: 20px 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding-bottom: 20px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Problem Cards */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.problem-card {
    background: #fff;
    border-left: 4px solid var(--primary);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* General Cards */
.card {
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Image Placeholders */
.image-placeholder {
    background: var(--gray);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--secondary);
    font-weight: bold;
}

/* Comparison Section */
.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.comparison-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-before, .comparison-after {
    padding: 30px;
    position: relative;
}

.comparison-before {
    background-color: #fff1f0;
    border-left: 4px solid var(--primary);
}

.comparison-after {
    background-color: #f0fdf4;
    border-left: 4px solid #22c55e;
}

.comparison-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.before-label {
    background: #fee2e2;
    color: #991b1b;
}

.after-label {
    background: #dcfce7;
    color: #166534;
}

.comparison-item h4 {
    margin-bottom: 10px;
    color: var(--dark);
}

.comparison-item p {
    font-size: 0.95rem;
    color: var(--text);
}

/* Circular Chart */
.percentage-circle {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.circular-chart {
    display: block;
    max-width: 100%;
}

.circle-bg {
    fill: none;
    stroke: var(--gray);
    stroke-width: 3;
}

.circle {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke: var(--primary);
    animation: progress 1.5s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.percentage {
    fill: var(--dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    text-anchor: middle;
}

/* Modal/Popup */
.modal {
    display: flex;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h2 {
    margin: 0;
    color: var(--primary);
}

.modal-body {
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--gray);
    cursor: pointer;
}

.close-modal:hover {
    color: var(--primary);
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.arrow {
    font-size: 0.7rem;
    opacity: 0.6;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    bottom: 100%;
    background: var(--white);
    min-width: 140px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    z-index: 1001;
    overflow: hidden;
    border: 1px solid var(--gray-light);
    padding: 5px 0;
}

/* Pseudo-element to bridge the gap between button and dropdown */
.language-dropdown::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 15px;
    display: none;
}

.language-dropdown:hover::after {
    display: block;
}

.dropdown-content a {
    color: var(--dark) !important;
    padding: 10px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.dropdown-content a:hover {
    background: var(--light) !important;
    color: var(--primary) !important;
}

.dropdown-content a.active {
    color: var(--primary) !important;
    background: rgba(240, 70, 36, 0.05) !important;
}

.language-dropdown:hover .dropdown-content {
    display: block;
}

.flag {
    width: 18px;
    height: 12px;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 1px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 15px 0;
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-info-link {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
}

.cookie-info-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}
