/* ============================================
   MODERN FRONTEND STYLES
   ============================================ */

/* Modern Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 400;
    color: #1a202c;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

/* Modern Header - WhatsApp Theme */
.tp-header__area {
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
    border-bottom: 1px solid #e9edef;
}

.tp-header__area.tp-header__transparent {
    background: rgba(255, 255, 255, 0.95) !important;
}

#header-sticky.sticky {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.tp-header__logo img {
    max-height: 45px;
    transition: all 0.3s ease;
}

.tp-header__logo:hover img {
    transform: scale(1.05);
}

/* Modern Navigation */
.tp-header__main-menu ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tp-header__main-menu ul li {
    position: relative;
}

.tp-header__main-menu ul li a {
    font-weight: 400;
    font-size: 0.9375rem;
    color: #54656f !important;
    padding: 0.5rem 1rem;
    border-radius: 24px;
    transition: all 0.15s ease;
    position: relative;
}

.tp-header__main-menu ul li a:hover,
.tp-header__main-menu ul li.active a {
    color: #25d366 !important;
    background: #f0f2f5;
}

.tp-header__main-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #25d366;
    transition: width 0.3s ease;
}

.tp-header__main-menu ul li.active a::after,
.tp-header__main-menu ul li a:hover::after {
    width: 60%;
}

/* Modern Buttons - WhatsApp Theme */
.tp-btn-blue {
    background: #25d366;
    color: #ffffff !important;
    padding: 0.75rem 1.75rem;
    border-radius: 24px;
    font-weight: 500;
    font-size: 0.9375rem;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.tp-btn-blue:hover {
    background: #20ba5a;
    color: #ffffff !important;
}

.tp-btn-border {
    border: 2px solid #25d366;
    color: #25d366;
    padding: 0.75rem 1.75rem;
    border-radius: 24px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    background: transparent;
}

.tp-btn-border:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
}

.tp-header__login {
    color: #54656f;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 24px;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.9375rem;
}

.tp-header__login:hover {
    background: #f0f2f5;
    color: #25d366;
}

/* Modern Hero Section */
.tp-hero__area {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.tp-hero__area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(217, 253, 211, 0.3);
    z-index: 1;
}

.tp-hero__wrapper {
    position: relative;
    z-index: 2;
}

.tp-hero__title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.3;
    color: #111b21;
    margin-bottom: 1.5rem;
}

.tp-hero__content {
    margin-bottom: 2rem;
}

.tp-hero__thumb img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.tp-hero__thumb:hover img {
    transform: scale(1.02);
}

/* Modern Features Section */
.tp-feature__area {
    padding: 100px 0;
    background: #ffffff;
}

.tp-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #111b21;
    margin-bottom: 1rem;
}

.tp-section-title-sm {
    font-size: 2rem;
    font-weight: 600;
    color: #111b21;
}

.tp-service__item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 1px solid #e9edef;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tp-service__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d9fdd3;
}

.tp-service__icon {
    width: 64px;
    height: 64px;
    background: #d9fdd3;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.tp-service__item:hover .tp-service__icon {
    background: #25d366;
}

.tp-service__icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(60%) sepia(95%) saturate(1352%) hue-rotate(100deg) brightness(98%) contrast(96%);
    transition: filter 0.3s ease;
}

.tp-service__item:hover .tp-service__icon img {
    filter: brightness(0) invert(1);
}

.tp-service__title-sm {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111b21;
    margin-bottom: 0.75rem;
}

.tp-service__title-sm a {
    color: #111b21;
    text-decoration: none;
    transition: color 0.15s ease;
}

.tp-service__title-sm a:hover {
    color: #25d366;
}

.tp-service__content p {
    color: #54656f;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.tp-service__link {
    margin-top: auto;
}

.tp-service__link a {
    color: #667eea;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tp-service__link a:hover {
    color: #20ba5a;
    transform: translateX(4px);
}

/* Modern Pricing Section */
.tp-price__area {
    padding: 100px 0;
    background: #ffffff;
}

.tp-price__item {
    background: #ffffff;
    border: 1px solid #e9edef;
    border-radius: 0.5rem;
    padding: 2rem 1.5rem;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.tp-price__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d9fdd3;
}

.tp-price__item.tp-price__active {
    background: #d9fdd3;
    border-color: #25d366;
    border-width: 2px;
}

.tp-price__icon {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9edef;
}

.tp-price__icon .icon {
    width: 56px;
    height: 56px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #25d366;
    color: #ffffff;
}

.tp-price__title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #111b21;
    margin-bottom: 1.5rem;
}

.tp-price__small_title {
    font-size: 1rem;
    font-weight: 400;
    color: #54656f;
}

.tp-price__list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.tp-price__list ul li {
    padding: 0.625rem 0;
    color: #54656f;
    font-size: 0.9375rem;
    position: relative;
    padding-left: 1.75rem;
}

.tp-price__list ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #25d366;
    font-weight: 600;
    font-size: 1rem;
}

.tp-price__btn {
    margin-top: auto;
}

/* Modern Footer - WhatsApp Theme */
.tp-footer__area {
    background: #111b21;
    position: relative;
    overflow: hidden;
}

.tp-footer__area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.5;
}

.tp-footer__content {
    position: relative;
    z-index: 1;
}

.tp-footer__content h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tp-footer__content p {
    color: #8696a0;
    font-size: 1rem;
    line-height: 1.6;
}

.tp-footer-bottom__area {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.tp-footer-bottom__menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.tp-footer-bottom__menu ul li a {
    color: #8696a0;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9375rem;
    transition: color 0.15s ease;
}

.tp-footer-bottom__menu ul li a:hover {
    color: #ffffff;
}

.tp-footer-bottom__logo img {
    max-height: 40px;
    filter: brightness(0) invert(1);
}

.tp-footer-bottom__social select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

/* Modern Scroll Top Button */
.scroll-top {
    width: 50px;
    height: 50px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    transition: all 0.2s ease;
    border: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.scroll-top:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

/* Modern Social Icons */
.tp-hero__social a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tp-hero__social a:hover {
    background: #25d366;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Modern Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-dots {
    gap: 0.5rem;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #25d366;
    border-radius: 15px;
    background: transparent;
    position: relative;
    color: #25d366;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #25d366;
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Modern FAQ Section */
.tp-faq__area {
    padding: 100px 0;
    background: #ffffff;
}

/* Modern Testimonial Section */
.tp-testimonial__area {
    padding: 100px 0;
    background: #ffffff;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .tp-hero__title {
        font-size: 2.5rem;
    }
    
    .tp-section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .tp-hero__title {
        font-size: 2rem;
    }
    
    .tp-section-title {
        font-size: 1.75rem;
    }
    
    .tp-header__main-menu {
        display: none;
    }
    
    .tp-price__item.tp-price__active {
        transform: scale(1);
    }
    
    .tp-footer-bottom__menu ul {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Smooth Animations */
* {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Modern Input Fields */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    border: 1px solid #e9edef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: all 0.15s ease;
    background: #ffffff;
    color: #111b21;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #25d366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.1);
}

/* Modern Cards */
.tp-card {
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 1px solid #e9edef;
}

.tp-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Modern Badges */
.tp-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tp-badge-primary {
    background: #25d366;
    color: #ffffff;
}

.tp-badge-success {
    background: #25d366;
    color: #ffffff;
}

.tp-badge-danger {
    background: #ef4444;
    color: #ffffff;
}

.tp-badge-warning {
    background: #f59e0b;
    color: #ffffff;
}

.tp-badge-info {
    background: #3b82f6;
    color: #ffffff;
}

/* Loading States */
.tp-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    border-top-color: #25d366;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Additional Modern Enhancements */

/* Modern Footer Button Images */
.modern-footer-button img {
    transition: transform 0.3s ease;
    border-radius: 0.5rem;
}

.modern-footer-button:hover img {
    transform: scale(1.05);
}

/* Modern Language Select */
.modern-language-select {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.875rem !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modern-language-select:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.modern-language-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

/* Modern Mobile Menu Button */
.modern-mobile-menu {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: #f1f5f9;
    color: #475569;
    transition: all 0.2s ease;
}

.modern-mobile-menu:hover {
    background: #e2e8f0;
    color: #25d366;
}

/* Modern Hero Image Enhancements */
.modern-hero-img {
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.modern-hero-img:hover {
    transform: scale(1.02);
}

.modern-hero-icon-left,
.modern-hero-icon-right {
    animation: float 3s ease-in-out infinite;
}

.modern-hero-icon-left {
    animation-delay: 0s;
}

.modern-hero-icon-right {
    animation-delay: 1.5s;
}

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

/* Modern Section Spacing */
.tp-feature__area,
.tp-price__area,
.tp-faq__area,
.tp-testimonial__area {
    position: relative;
}

/* Modern Gradient Text */
.modern-gradient-text {
    color: #25d366;
}

/* Modern Card Hover Effects */
.tp-service__item,
.tp-price__item {
    position: relative;
    overflow: hidden;
}

.tp-service__item::before,
.tp-price__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.1), transparent);
    transition: left 0.5s ease;
}

.tp-service__item:hover::before,
.tp-price__item:hover::before {
    left: 100%;
}

/* Modern Form Enhancements */
.modern-form-group {
    margin-bottom: 1.5rem;
}

.modern-form-label {
    font-weight: 500;
    color: #54656f;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
}

.modern-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e9edef;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    transition: all 0.15s ease;
    background: #ffffff;
    color: #111b21;
}

.modern-form-input:focus {
    outline: none;
    border-color: #25d366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.1);
}

/* Modern Testimonial Cards */
.tp-testimonial__item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 1px solid #e9edef;
}

.tp-testimonial__item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Modern FAQ Accordion */
.tp-faq__item {
    background: #ffffff;
    border: 1px solid #e9edef;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.15s ease;
}

.tp-faq__item:hover {
    border-color: #d9fdd3;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.1);
}

.tp-faq__item.active {
    border-color: #25d366;
    background: #d9fdd3;
}

/* Modern Contact Form */
.tp-contact__form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9edef;
}

/* Modern Blog Cards */
.tp-blog__item {
    background: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 1px solid #e9edef;
}

.tp-blog__item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tp-blog__thumb img {
    transition: transform 0.3s ease;
}

.tp-blog__item:hover .tp-blog__thumb img {
    transform: scale(1.05);
}

/* Modern Counter/Stats */
.tp-counter__item {
    text-align: center;
    padding: 2rem;
}

.tp-counter__number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #25d366;
}

/* Smooth Page Transitions */
main {
    animation: fadeIn 0.5s ease-out;
}

/* Modern Scrollbar for Webkit Browsers */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #25d366;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #20ba5a;
}

/* Print Styles */
@media print {
    .modern-header,
    .modern-footer,
    .scroll-top,
    .modern-scroll-indicator,
    .modern-hero-social {
        display: none !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible for Keyboard Navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #25d366;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

