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

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #6366f1;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --dark: #0f172a;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* SVG Ikonok CSS változókként */
    --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322c55e'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
    --logo-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2a2 2 0 0 1 2 2c0 .74-.4 1.39-1 1.73V7h1a7 7 0 0 1 7 7v1H3v-1a7 7 0 0 1 7-7h1V5.73c-.6-.34-1-.99-1-1.73a2 2 0 0 1 2-2M2 17h20v2H2v-2m9-10h2a5 5 0 0 0-5 5h1a4 4 0 0 1 4-4m-2 4h2v2h-2v-2z'/%3E%3C/svg%3E");
    --globe-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234f46e5'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
    --list-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234f46e5'%3E%3Cpath d='M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z'/%3E%3C/svg%3E");
    --doc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234f46e5'%3E%3Cpath d='M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9l-7-7zM6 4h5v5h5v11H6V4z'/%3E%3C/svg%3E");
    --sync-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234f46e5'%3E%3Cpath d='M12 4V1L8 5l4 4V6a6 6 0 1 1-6 6H4a8 8 0 1 0 8-8z'/%3E%3C/svg%3E");
    --book-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234f46e5'%3E%3Cpath d='M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.1-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1zM3 18.5V7c1.1-.35 2.3-.5 3.5-.5 1.34 0 2.7.25 3.84.75l.16.07v11.49c-1.14-.5-2.5-.81-3.84-.81-1.34 0-2.7.25-3.84.75l-.16.05zm18 0l-.16-.05c-1.14-.5-2.5-.75-3.84-.75-1.34 0-2.7.31-3.84.81V7.32l.16-.07C14.46 6.75 15.66 6.5 17 6.5c1.2 0 2.4.15 3.5.5v11.5z'/%3E%3C/svg%3E");
    --user-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234f46e5'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    --cloud-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234f46e5'%3E%3Cpath d='M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z'/%3E%3C/svg%3E");
    --phone-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234f46e5'%3E%3Cpath d='M17 1H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zM7 4h10v14H7V4z'/%3E%3C/svg%3E");
    --bolt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234f46e5'%3E%3Cpath d='M13 10V3L4 13h7v7l9-10h-7z'/%3E%3C/svg%3E");
    --mail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

/* Általános Ikon Stílusok */
.icon-bg {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.icon-sm { width: 24px; height: 24px; }
.icon-md { width: 48px; height: 48px; }

/* Specifikus Ikon Hozzárendelések */
.icon-logo { background-image: var(--logo-icon); }
.icon-globe { background-image: var(--globe-icon); }
.icon-list { background-image: var(--list-icon); }
.icon-doc { background-image: var(--doc-icon); }
.icon-sync { background-image: var(--sync-icon); }
.icon-book { background-image: var(--book-icon); }
.icon-user { background-image: var(--user-icon); }
.icon-cloud { background-image: var(--cloud-icon); }
.icon-phone { background-image: var(--phone-icon); }
.icon-bolt { background-image: var(--bolt-icon); }
.icon-mail { background-image: var(--mail-icon); }

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

.text-center { text-align: center; }

/* Navigáció */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.5rem;
    cursor: pointer;
}

.logo-icon {
    background: var(--primary);
    padding: 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

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

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

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

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

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

/* Hero */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #1e293b 0%, #4338ca 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero h1 span {
    color: #a5b4fc;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

/* Section Commons */
section {
    padding: 100px 20px;
    scroll-margin-top: 80px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.feature-label {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.feature-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 15px 0 25px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-item-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.feature-icon-small {
    color: var(--primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.analysis-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-top: 40px;
}

.analysis-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mockup */
.mockup {
    background: #0f172a;
    border-radius: 24px;
    padding: 20px;
    border: 4px solid #1e293b;
    box-shadow: var(--shadow-lg);
}

.mockup-header {
    background: #1e293b;
    padding: 16px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.mockup-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.mockup-user-info p:first-child {
    font-size: 0.7rem;
    opacity: 0.6;
}

.mockup-user-info p:last-child {
    font-size: 0.9rem;
    font-weight: bold;
}

.mockup-badge {
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.chat-area {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 300px;
}

.bubble {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 85%;
    font-size: 0.9rem;
    color: white;
}

.bubble-ai {
    background: #334155;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.bubble-user {
    background: var(--primary);
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.analysis-box {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 12px;
    border-radius: 12px;
}

.analysis-box-title {
    color: #4ade80;
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.analysis-box-content {
    color: #94a3b8;
    font-size: 0.8rem;
    font-style: italic;
}

/* Check-list stílusok */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text-muted);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list li::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: var(--check-icon);
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Stories */
.stories-section {
    background: #f1f5f9;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: #eef2ff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card p {
    color: var(--text-muted);
    margin-top: 15px;
}

/* Platform */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.platform-item {
    text-align: center;
}

.platform-item h3 {
    margin-bottom: 10px;
}

.platform-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.platform-icon {
    margin-bottom: 20px;
}

/* Contact Form */
.contact-section {
    background: var(--dark);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.contact-info-text {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #cbd5e1;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 24px;
    color: var(--text-main);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: var(--transition);
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Mobile Menu */
.mobile-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: 16px;
}

/* Footer */
footer {
    background: #020617;
    padding: 60px 20px;
    text-align: center;
    color: #475569;
}

/* Responsive */
@media (min-width: 768px) {
    .nav-links { display: flex; }
    .mobile-btn { display: none; }
    .hero h1 { font-size: 4.5rem; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .platform-grid { grid-template-columns: repeat(3, 1fr); }
}

.scroll-mt { scroll-margin-top: 100px; }
