/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #4361ee;
    --primary-light: #4895ef;
    --primary-dark: #3f37c9;
    --secondary-color: #f72585;
    --secondary-light: #ff4d6d;
    --secondary-dark: #b5179e;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
    --border-color: #e9ecef;
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

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

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

a:hover {
    color: var(--primary-dark);
}

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

.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

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

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

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    position: relative;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: bounce 2s infinite ease-in-out;
}

.double-bounce2 {
    animation-delay: -1s;
    background-color: var(--secondary-color);
}

@keyframes bounce {
    0%, 100% { transform: scale(0); }
    50% { transform: scale(1); }
}

/* ===== HEADER ===== */
.header {
    padding-top: 80px;
}

.navbar {
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-color);
    padding: 10px 15px;
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 30px;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 15px 0;
}

.dropdown-item {
    padding: 8px 25px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.dropdown-header {
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 25px 5px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 180px 0 100px;
    background-color: #f8f9ff;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero-content p {
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
}

/* ===== TOOLS SECTION ===== */
.tools-section {
    position: relative;
}

.tool-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(247, 37, 133, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1);
}

.tool-icon i {
    font-size: 28px;
    color: white;
}

.tool-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.tool-list li {
    margin-bottom: 10px;
}

.tool-list li a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.tool-list li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background-color: var(--bg-color);
}

.feature-card {
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: var(--bg-color);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(247, 37, 133, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
    position: relative;
}

.step-card {
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: var(--bg-color);
    text-align: center;
    position: relative;
    height: 100%;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(247, 37, 133, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-icon i {
    font-size: 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: var(--bg-color);
}

.testimonial-card {
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: var(--bg-color);
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 18px;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
}

.testimonial-author-title {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    position: relative;
}

.contact-form {
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: var(--bg-color);
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 80px 0 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 60px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: white;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: white;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
    section {
        padding: 80px 0;
    }
    
    .hero-section {
        padding: 150px 0 80px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 130px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .tool-card, .feature-card, .step-card, .testimonial-card {
        padding: 20px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 15px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}