/* Emikon Helpdesk Landing Page CSS */

:root {
    --landing-primary: #165076;
    --landing-primary-dark: #0d3a57;
    --landing-secondary: #2c3e50;
    --landing-accent: #e74c3c;
    --landing-success: #27ae60;
    --landing-warning: #f39c12;
    --landing-light: #f5f6fa;
    --landing-white: #ffffff;
    --landing-text: #333333;
    --landing-text-light: #6c757d;
}

/* Typography */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--landing-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

/* Navigation */
.navbar {
    background-color: transparent;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background-color: var(--landing-primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
}

.navbar-brand .material-icons {
    font-size: 32px !important;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
}

.navbar .nav-link:hover {
    color: #fff !important;
}

.navbar .btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
}

.navbar .btn-outline-light:hover {
    background-color: #fff;
    color: var(--landing-primary);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.language-switcher .lang-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.language-switcher .lang-btn.active {
    background-color: #fff;
    color: var(--landing-primary);
    border-color: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-primary-dark) 100%);
    color: #fff;
    position: relative;
    padding-top: 80px;
    min-height: 100vh;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem !important;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem !important;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
}

.hero-buttons .btn-light {
    color: var(--landing-primary);
}

.hero-buttons .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-number {
    font-size: 2rem !important;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem !important;
    opacity: 0.8;
}

/* Hero Image */
.hero-image {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.hero-icon {
    font-size: 280px !important;
    opacity: 0.15;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.floating-card {
    position: absolute;
    background: #fff;
    color: var(--landing-text);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.floating-card .material-icons {
    font-size: 24px !important;
}

.card-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.card-1 .material-icons {
    color: var(--landing-primary);
}

.card-2 {
    top: 50%;
    right: 5%;
    animation-delay: 1s;
}

.card-2 .material-icons {
    color: var(--landing-success);
}

.card-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.card-3 .material-icons {
    color: var(--landing-warning);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem !important;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--landing-secondary);
}

.section-subtitle {
    font-size: 1.125rem !important;
    color: var(--landing-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    background-color: var(--landing-light);
    padding: 5rem 0;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon .material-icons {
    font-size: 36px !important;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem;
    color: var(--landing-secondary);
}

.feature-card p {
    font-size: 0.9375rem !important;
    color: var(--landing-text-light);
    margin: 0;
}

/* Workflow Section */
.workflow-section {
    padding: 5rem 0;
    background: #fff;
}

.workflow-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 0;
}

.workflow-step {
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.step-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.step-icon .material-icons {
    font-size: 48px !important;
    color: #fff;
}

.step-todo {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.step-active {
    background: linear-gradient(135deg, #27ae60, #1e8449);
}

.step-closed {
    background: linear-gradient(135deg, #7f8c8d, #566573);
}

.step-content h3 {
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem;
}

.step-content p {
    font-size: 0.9375rem !important;
    color: var(--landing-text-light);
    margin-bottom: 1rem;
}

.step-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem !important;
    font-weight: 500;
}

.badge-todo {
    background-color: #3498db;
    color: #fff;
}

.badge-active {
    background-color: #27ae60;
    color: #fff;
}

.badge-closed {
    background-color: #7f8c8d;
    color: #fff;
}

.workflow-connector {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #27ae60);
    margin-top: 50px;
    flex-shrink: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: var(--landing-light);
}

.benefit-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}

.benefit-header .material-icons {
    font-size: 36px !important;
}

.benefit-header h3 {
    font-size: 1.25rem !important;
    margin: 0;
}

.benefit-customer {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.benefit-engineer {
    background: linear-gradient(135deg, #27ae60, #1e8449);
}

.benefit-admin {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.benefit-list {
    list-style: none;
    padding: 1.5rem;
    margin: 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9375rem !important;
}

.benefit-list li:last-child {
    border-bottom: none;
}

.benefit-list .material-icons {
    font-size: 20px !important;
    color: var(--landing-success);
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background: #fff;
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.pricing-featured {
    border-color: var(--landing-primary);
    transform: scale(1.02);
}

.pricing-featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--landing-primary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem !important;
    font-weight: 500;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem;
    color: var(--landing-secondary);
}

.pricing-description {
    font-size: 0.9375rem !important;
    color: var(--landing-text-light);
    margin: 0;
}

.pricing-price {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 3.5rem !important;
    font-weight: 700;
    color: var(--landing-primary);
}

.price-currency {
    font-size: 1.25rem !important;
    font-weight: 500;
    color: var(--landing-text-light);
    vertical-align: super;
}

.price-period {
    font-size: 1rem !important;
    color: var(--landing-text-light);
}

.pricing-contact .price-text {
    font-size: 1.75rem !important;
    font-weight: 600;
    color: var(--landing-primary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem !important;
}

.pricing-features li .material-icons {
    font-size: 20px !important;
    color: var(--landing-success);
}

.pricing-features li.disabled {
    color: var(--landing-text-light);
    opacity: 0.6;
}

.pricing-features li.disabled .material-icons {
    color: var(--landing-text-light);
}

/* Discount Section */
.discount-section {
    margin-top: 4rem;
}

.discount-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid var(--landing-primary);
    position: relative;
    overflow: hidden;
}

.discount-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(22, 80, 118, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.discount-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.discount-header .material-icons {
    font-size: 40px !important;
    color: var(--landing-primary);
}

.discount-header h3 {
    font-size: 1.75rem !important;
    color: var(--landing-secondary);
    margin: 0;
}

.discount-subtitle {
    text-align: center;
    color: var(--landing-text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem !important;
}

.discount-calculator {
    max-width: 800px;
    margin: 0 auto;
}

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

.plan-selector label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--landing-secondary);
}

.plan-selector .btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.plan-selector .btn {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.plan-selector .btn-check:checked + .btn-outline-primary {
    background-color: var(--landing-primary);
    border-color: var(--landing-primary);
    color: #fff;
}

.period-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.period-option {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.period-option:hover {
    border-color: var(--landing-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 80, 118, 0.15);
}

.period-option.selected {
    border-color: var(--landing-primary);
    background: linear-gradient(135deg, rgba(22, 80, 118, 0.05) 0%, rgba(22, 80, 118, 0.1) 100%);
}

.period-option.recommended {
    border-color: var(--landing-success);
}

.period-option.best-value {
    border-color: var(--landing-warning);
}

.recommended-badge,
.best-value-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem !important;
    font-weight: 600;
    white-space: nowrap;
}

.recommended-badge {
    background: var(--landing-success);
    color: #fff;
}

.best-value-badge {
    background: var(--landing-warning);
    color: #fff;
}

.period-info {
    text-align: center;
    margin-bottom: 0.75rem;
}

.period-duration {
    display: block;
    font-size: 1.25rem !important;
    font-weight: 600;
    color: var(--landing-secondary);
    margin-bottom: 0.25rem;
}

.period-discount-badge {
    display: inline-block;
    background: var(--landing-primary);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem !important;
    font-weight: 500;
}

.period-pricing {
    text-align: center;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.period-original {
    display: block;
    font-size: 0.875rem !important;
    color: var(--landing-text-light);
    text-decoration: line-through;
}

.period-final {
    display: block;
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--landing-primary);
    margin: 0.25rem 0;
}

.period-savings {
    display: block;
    font-size: 0.8125rem !important;
    color: var(--landing-success);
    font-weight: 500;
}

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

.discount-cta .btn {
    padding: 1rem 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.discount-cta .btn .material-icons {
    font-size: 20px !important;
}

@media (max-width: 767.98px) {
    .discount-card {
        padding: 1.5rem;
    }

    .discount-header {
        flex-direction: column;
        text-align: center;
    }

    .discount-header h3 {
        font-size: 1.5rem !important;
    }

    .period-options {
        grid-template-columns: 1fr;
    }

    .plan-selector .btn {
        min-width: 100%;
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--landing-light);
}

.accordion-item {
    border: none;
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-size: 1rem !important;
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    background: #fff;
    color: var(--landing-secondary);
}

.accordion-button:not(.collapsed) {
    background: var(--landing-primary);
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    filter: none;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    font-size: 0.9375rem !important;
    color: var(--landing-text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-primary-dark) 100%);
    color: #fff;
}

.contact-section .section-title {
    color: #fff;
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--landing-secondary);
    font-size: 0.9375rem !important;
}

.contact-form .form-control {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem !important;
    transition: all 0.2s ease;
}

.contact-form .form-control:focus {
    border-color: var(--landing-primary);
    box-shadow: 0 0 0 3px rgba(22, 80, 118, 0.1);
}

.contact-form .btn-primary {
    background: var(--landing-primary);
    border: none;
    padding: 1rem;
    font-size: 1rem !important;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.contact-form .btn-primary:hover {
    background: var(--landing-primary-dark);
    transform: translateY(-2px);
}

.contact-section .alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
}

/* Footer */
.landing-footer {
    background: var(--landing-secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem !important;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-brand .material-icons {
    font-size: 32px !important;
}

.footer-description {
    font-size: 0.9375rem !important;
    opacity: 0.8;
    max-width: 300px;
}

.landing-footer h5 {
    font-size: 1rem !important;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem !important;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.language-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.language-buttons .btn {
    font-size: 0.875rem !important;
    padding: 0.375rem 0.75rem;
}

.language-buttons .lang-btn.active {
    background-color: #fff;
    color: var(--landing-secondary);
    border-color: #fff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.copyright {
    font-size: 0.875rem !important;
    margin: 0;
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #fff;
}

.social-links .material-icons {
    font-size: 24px !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-image {
        width: 300px;
        height: 300px;
        margin-top: 3rem;
    }

    .hero-icon {
        font-size: 200px !important;
    }

    .floating-card {
        padding: 8px 14px;
        font-size: 0.875rem !important;
    }

    .hero-stats {
        gap: 2rem;
    }

    .workflow-connector {
        display: none;
    }

    .section-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        width: 250px;
        height: 250px;
    }

    .floating-card {
        display: none;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .feature-icon .material-icons {
        font-size: 28px !important;
    }

    .workflow-step {
        min-width: 100%;
    }

    .step-icon {
        width: 80px;
        height: 80px;
    }

    .step-icon .material-icons {
        font-size: 36px !important;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-featured {
        transform: none;
    }

    .pricing-featured:hover {
        transform: translateY(-4px);
    }

    .price-amount {
        font-size: 2.5rem !important;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-description {
        text-align: center;
        max-width: none;
    }

    .landing-footer h5 {
        margin-top: 1.5rem;
    }

    .language-buttons {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading States */
.btn .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--landing-light);
}

::-webkit-scrollbar-thumb {
    background: var(--landing-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--landing-primary-dark);
}
