/* =========================================
   HemenAl SaaS - Landing Page CSS
   B2B Corporate Light Theme
   ========================================= */

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

:root {
    --lp-primary: #0f172a;
    --lp-primary-light: #1e293b;
    --lp-accent: #e94560;
    --lp-accent-hover: #d63851;
    --lp-accent-soft: rgba(233, 69, 96, 0.06);
    --lp-blue: #3b82f6;
    --lp-green: #10b981;
    --lp-orange: #f59e0b;
    --lp-text: #1e293b;
    --lp-text-muted: #64748b;
    --lp-text-light: #94a3b8;
    --lp-bg: #ffffff;
    --lp-bg-alt: #f8fafc;
    --lp-bg-dark: #0f172a;
    --lp-border: #e2e8f0;
    --lp-shadow: 0 1px 3px rgba(0,0,0,0.06);
    --lp-shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --lp-shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --lp-radius: 16px;
    --lp-radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body.lp-body {
    font-family: 'DM Sans', 'Inter', -apple-system, system-ui, sans-serif;
    background: var(--lp-bg);
    color: var(--lp-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========== NAVBAR ========== */
.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-border);
    transition: all 0.3s;
}

.lp-nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.lp-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.lp-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lp-primary);
    text-decoration: none;
}

.lp-logo .accent { color: var(--lp-accent); }

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

.lp-nav-links a {
    color: var(--lp-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.lp-nav-links a:hover { color: var(--lp-text); }

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-lang-switch {
    display: flex;
    background: var(--lp-bg-alt);
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    overflow: hidden;
}

.lp-lang-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--lp-text-muted);
    font-family: inherit;
    transition: all 0.2s;
    text-decoration: none;
}

.lp-lang-btn.active {
    background: var(--lp-accent);
    color: white;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--lp-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.2s;
    white-space: nowrap;
}

.lp-btn-primary {
    background: var(--lp-accent);
    color: white;
}

.lp-btn-primary:hover {
    background: var(--lp-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.3);
}

.lp-btn-outline {
    background: transparent;
    color: var(--lp-text);
    border: 1.5px solid var(--lp-border);
}

.lp-btn-outline:hover {
    border-color: var(--lp-accent);
    color: var(--lp-accent);
}

.lp-btn-white {
    background: white;
    color: var(--lp-primary);
}

.lp-btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

.lp-btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.lp-btn-block { width: 100%; justify-content: center; }

/* ========== HERO ========== */
.lp-hero {
    padding: 140px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233,69,96,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.lp-hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59,130,246,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.lp-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--lp-accent-soft);
    border: 1px solid rgba(233,69,96,0.12);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lp-accent);
    margin-bottom: 24px;
}

.lp-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--lp-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.lp-hero h1 .highlight {
    background: linear-gradient(135deg, var(--lp-accent), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-hero p {
    font-size: 1.2rem;
    color: var(--lp-text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lp-hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.lp-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--lp-border);
}

.lp-hero-stat { text-align: center; }
.lp-hero-stat .value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lp-primary);
}
.lp-hero-stat .label {
    font-size: 0.85rem;
    color: var(--lp-text-muted);
    margin-top: 2px;
}

/* ========== CONTAINER ========== */
.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== SECTIONS ========== */
.lp-section {
    padding: 100px 24px;
}

.lp-section-alt { background: var(--lp-bg-alt); }
.lp-section-dark { background: var(--lp-bg-dark); color: white; }

.lp-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.lp-section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lp-accent);
    margin-bottom: 12px;
}

.lp-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--lp-primary);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.lp-section-dark .lp-section-title { color: white; }

.lp-section-desc {
    font-size: 1.05rem;
    color: var(--lp-text-muted);
    line-height: 1.65;
}

.lp-section-dark .lp-section-desc { color: rgba(255,255,255,0.6); }

/* ========== FEATURES ========== */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lp-feature-card {
    background: var(--lp-bg);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 32px;
    transition: all 0.25s;
}

.lp-feature-card:hover {
    border-color: rgba(233,69,96,0.2);
    box-shadow: var(--lp-shadow-md);
    transform: translateY(-4px);
}

.lp-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.lp-feature-icon svg { width: 26px; height: 26px; }

.lp-feature-icon.red { background: rgba(233,69,96,0.08); color: var(--lp-accent); }
.lp-feature-icon.blue { background: rgba(59,130,246,0.08); color: var(--lp-blue); }
.lp-feature-icon.green { background: rgba(16,185,129,0.08); color: var(--lp-green); }
.lp-feature-icon.orange { background: rgba(245,158,11,0.08); color: var(--lp-orange); }

.lp-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--lp-primary);
}

.lp-feature-card p {
    font-size: 0.9rem;
    color: var(--lp-text-muted);
    line-height: 1.6;
}

/* ========== HOW IT WORKS ========== */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.lp-step {
    text-align: center;
    position: relative;
}

.lp-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--lp-accent);
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.lp-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--lp-primary);
}

.lp-step p {
    font-size: 0.9rem;
    color: var(--lp-text-muted);
    line-height: 1.6;
}

/* ========== PRICING ========== */
.lp-pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    background: var(--lp-bg-alt);
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 48px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.lp-pricing-toggle button {
    padding: 10px 24px;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: var(--lp-text-muted);
    font-family: inherit;
    transition: all 0.2s;
}

.lp-pricing-toggle button.active {
    background: white;
    color: var(--lp-text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.lp-pricing-card {
    background: var(--lp-bg);
    border: 1.5px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 32px;
    position: relative;
    transition: all 0.25s;
}

.lp-pricing-card.featured {
    border-color: var(--lp-accent);
    box-shadow: 0 8px 30px rgba(233,69,96,0.12);
    transform: scale(1.02);
}

.lp-pricing-card.featured::before {
    content: attr(data-label);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lp-accent);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lp-pricing-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lp-primary);
    margin-bottom: 4px;
}

.lp-pricing-desc {
    font-size: 0.85rem;
    color: var(--lp-text-muted);
    margin-bottom: 20px;
}

.lp-pricing-price {
    margin-bottom: 24px;
}

.lp-pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--lp-primary);
}

.lp-pricing-period {
    font-size: 0.85rem;
    color: var(--lp-text-muted);
}

.lp-pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.lp-pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--lp-text);
    border-bottom: 1px solid var(--lp-bg-alt);
}

.lp-pricing-features li:last-child { border: none; }

.lp-pricing-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16,185,129,0.1);
    color: var(--lp-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-pricing-check svg { width: 12px; height: 12px; }

/* ========== FAQ ========== */
.lp-faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.lp-faq-item {
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--lp-bg);
}

.lp-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--lp-primary);
    transition: color 0.2s;
    user-select: none;
}

.lp-faq-question:hover { color: var(--lp-accent); }

.lp-faq-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
    flex-shrink: 0;
    color: var(--lp-text-muted);
}

.lp-faq-item.open .lp-faq-arrow { transform: rotate(180deg); }

.lp-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.lp-faq-item.open .lp-faq-answer {
    max-height: 300px;
    padding-bottom: 18px;
}

.lp-faq-answer p {
    font-size: 0.9rem;
    color: var(--lp-text-muted);
    line-height: 1.7;
}

/* ========== CONTACT ========== */
.lp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.lp-contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lp-primary);
    margin-bottom: 16px;
}

.lp-contact-info p {
    color: var(--lp-text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.lp-contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
}

.lp-contact-detail-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-contact-detail-icon svg { width: 20px; height: 20px; }

.lp-contact-detail span {
    font-size: 0.9rem;
    color: var(--lp-text);
}

.lp-contact-form {
    background: var(--lp-bg);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 32px;
    box-shadow: var(--lp-shadow);
}

.lp-form-group { margin-bottom: 16px; }

.lp-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lp-text);
    margin-bottom: 6px;
}

.lp-form-input, .lp-form-select, .lp-form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--lp-bg-alt);
    border: 1.5px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    color: var(--lp-text);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.15s;
}

.lp-form-input:focus, .lp-form-textarea:focus {
    outline: none;
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 3px rgba(233,69,96,0.06);
    background: white;
}

.lp-form-textarea { min-height: 100px; resize: vertical; }

.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ========== CTA ========== */
.lp-cta {
    padding: 80px 24px;
    text-align: center;
    background: var(--lp-bg-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.lp-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(233,69,96,0.15) 0%, transparent 50%);
}

.lp-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.lp-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.lp-cta p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

/* ========== FOOTER ========== */
.lp-footer {
    background: var(--lp-bg-dark);
    color: rgba(255,255,255,0.5);
    padding: 60px 24px 30px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.lp-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.lp-footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.lp-footer-brand h3 .accent { color: var(--lp-accent); }

.lp-footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.lp-footer h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lp-footer ul { list-style: none; }

.lp-footer ul li { margin-bottom: 10px; }

.lp-footer ul a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.lp-footer ul a:hover { color: white; }

.lp-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

/* ========== MOBILE MENU ========== */
.lp-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--lp-text);
}

.lp-mobile-toggle svg { width: 24px; height: 24px; }

/* ========== FORM MESSAGES ========== */
.lp-form-msg {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: none;
}

.lp-form-msg.success { display: block; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); color: #065f46; }
.lp-form-msg.error { display: block; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: #991b1b; }

/* ========== ANIMATIONS ========== */
.lp-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lp-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .lp-nav-links { display: none; }
    .lp-mobile-toggle { display: block; }
    
    .lp-hero { padding: 120px 20px 60px; }
    .lp-hero h1 { font-size: 2.25rem; }
    .lp-hero p { font-size: 1rem; }
    .lp-hero-stats { gap: 24px; flex-wrap: wrap; }
    .lp-hero-stat .value { font-size: 1.5rem; }
    
    .lp-section { padding: 60px 20px; }
    .lp-section-title { font-size: 1.75rem; }
    
    .lp-features-grid { grid-template-columns: 1fr; }
    .lp-steps { grid-template-columns: 1fr; gap: 24px; }
    .lp-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .lp-pricing-card.featured { transform: none; }
    .lp-contact-grid { grid-template-columns: 1fr; }
    .lp-footer-grid { grid-template-columns: 1fr 1fr; }
    .lp-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .lp-form-row { grid-template-columns: 1fr; }
}
