:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #0f172a;
    --accent-color: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s ease;
    --container-padding: 1.5rem;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.ef-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hidden {
    display: none !important;
}

/* Header */
.ef-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: 70px;
    display: flex;
    align-items: center;
}

.ef-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.ef-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ef-desktop-menu {
    display: none;
}

.ef-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ef-burger-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.ef-mobile-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
}

.ef-mobile-menu.active {
    transform: translateY(0);
}

.ef-mobile-list li a {
    display: block;
    padding: 1rem var(--container-padding);
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

/* Hero Section */
.ef-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    overflow: hidden;
}

.ef-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.8) 100%);
    z-index: 1;
}

.ef-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.ef-headline {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.ef-subheadline {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.ef-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.ef-btn-primary, .ef-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.ef-btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.ef-btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.ef-btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.ef-btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
}

.ef-hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.ef-stat-item {
    display: flex;
    flex-direction: column;
}

.ef-stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.ef-stat-desc {
    font-size: 0.875rem;
    color: var(--text-light);
}

.ef-hero-visual {
    display: none; 
}

/* Features */
.ef-features-block {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.ef-section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ef-section-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.ef-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.ef-feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    cursor: pointer;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.ef-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.ef-icon-box {
    width: 50px;
    height: 50px;
    background-color: #eff6ff;
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.ef-feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.ef-card-preview {
    color: var(--text-main);
    margin-bottom: 1rem;
}

.ef-card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease;
    opacity: 0;
    font-size: 0.9rem;
    color: var(--accent-color);
}

.ef-feature-card.open .ef-card-details {
    max-height: 200px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

/* Integration */
.ef-integration-strip {
    padding: 5rem 0;
}

.ef-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.ef-rounded-img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.ef-check-list {
    margin-top: 2rem;
}

.ef-check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.ef-check-list i {
    color: var(--primary-color);
}

/* Analytics */
.ef-analytics-section {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.ef-analytics-section h2 {
    color: var(--bg-white);
}

.ef-analytics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.ef-chart-visual {
    order: 2; 
}

.ef-chart-img {
    border-radius: 8px;
    opacity: 0.9;
}

.ef-analytics-text {
    order: 1;
}

.ef-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.ef-kpi-box {
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.ef-kpi-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.ef-kpi-box span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Contact / Demo */
.ef-contact-zone {
    padding: 5rem 0;
    background: var(--bg-light);
}

.ef-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

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

.ef-lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ef-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ef-input-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.ef-input-group input,
.ef-input-group select {
    min-height: 48px;
    padding: 0 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.ef-input-group input:focus,
.ef-input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ef-input-group input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.ef-submit-btn {
    min-height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-top: 1rem;
}

.ef-submit-btn:hover {
    background-color: var(--primary-hover);
}

/* Footer */
.ef-footer {
    background-color: #020617;
    color: #cbd5e1;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.ef-footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.ef-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 1rem;
}

.ef-footer-links h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.ef-footer-links ul li {
    margin-bottom: 0.5rem;
}

.ef-footer-links a:hover {
    color: var(--primary-color);
}

.ef-footer-social {
    display: flex;
    gap: 1rem;
}

.ef-footer-social a {
    font-size: 1.25rem;
}

.ef-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.ef-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.ef-modal-trigger {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 1rem var(--container-padding);
    z-index: 9999;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.ef-cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
}

.ef-cookie-actions {
    display: flex;
    gap: 1rem;
}

.ef-cookie-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.ef-cookie-btn.accept {
    background-color: var(--primary-color);
    color: white;
}

.ef-cookie-btn.accept:hover {
    background-color: var(--primary-hover);
}

.ef-cookie-btn.decline {
    background-color: transparent;
    border: 1px solid #cbd5e1;
    color: #cbd5e1;
}

.ef-cookie-btn.decline:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Modal */
.ef-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.ef-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.ef-close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.ef-modal-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.ef-modal-content p {
    color: var(--text-main);
}

/* Media Queries */
@media (min-width: 576px) {
    .ef-cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .ef-hero-headline {
        font-size: 3.5rem;
    }
    
    .ef-hero-actions {
        flex-direction: row;
    }

    .ef-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ef-footer-top {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .ef-burger-btn {
        display: none;
    }

    .ef-desktop-menu {
        display: block;
    }

    .ef-menu-list {
        display: flex;
        gap: 2rem;
    }

    .ef-link {
        font-weight: 500;
        color: var(--text-main);
        font-size: 0.95rem;
    }

    .ef-link:hover {
        color: var(--primary-color);
    }

    .ef-cta-group .ef-btn-primary {
        display: inline-flex;
        padding: 0 1.5rem;
        min-height: 40px;
        font-size: 0.9rem;
    }

    .ef-hero-grid {
        grid-template-columns: 1fr 1fr;
        height: 100%;
    }

    .ef-hero-visual {
        display: block;
        height: 100%;
    }

    .ef-hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    }

    .ef-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ef-analytics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ef-chart-visual {
        order: 1;
    }

    .ef-analytics-text {
        order: 2;
    }

    .ef-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}