:root {
    --primary-color: #1a365d;
    --secondary-color: #4299e1;
    --accent-color: #ed8936;
    --accent-hover: #e07b22;
    --success-color: #27ae60;
    --background: #f7fafc;
    --card-bg: #ffffff;
    --text-color: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

[data-theme="dark"] {
    --primary-color: #90d9eb;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --accent-hover: #e07b22;
    --success-color: #2ecc71;
    --background: #171717;
    --card-bg: #2c3e50;
    --text-color: #ecf0f1;
    --text-muted: #bdc3c7;
    --border-color: #4a6278;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.35);
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
select,
textarea {
    font-size: 16px !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: var(--font-main);
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.btn-section {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
}

.btn-secondary {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.section-padding {
    padding: 80px 0;
}

header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 7px;
}

.logo img {
    height: 40px !important;
}

.theme-toggle {
    background: none;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--background) 0%, #e6f0ff 100%);
    overflow: hidden;
}

.hero-content {
    align-items: center;
}

.hero h1 {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.process-section {
    background-color: var(--card-bg);
}

.process-timeline {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

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

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--accent-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.dashboard-showcase .stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 180px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.social-proof {
    background-color: var(--background);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stars {
    color: var(--accent-color);
}

footer {
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.subscribe-box {
    display: flex;
    margin-top: 15px;
}

.subscribe-box input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    background-color: var(--background);
    color: var(--text-color);
}

.subscribe-box button {
    border-radius: 0 5px 5px 0;
    padding: 0 25px;
}

.trust-section-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-section-icons i {
    margin-right: 8px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-hover);
    cursor: pointer;
    border: none;
}

.chat-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--success-color);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    header {
        padding: 10px 0;
    }

    .container {
        padding: 0 16px;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
        margin-top: 15px;
        animation: slideDown 0.3s ease-out;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .btn {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .theme-toggle {
        justify-content: center;
        width: 100%;
        padding: 15px;
    }

    .dashboard-showcase .stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-card {
        min-width: unset;
        width: 100%;
        padding: 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .subscribe-box {
        max-width: 400px;
        margin: 15px auto 0;
    }
}

@media (max-width: 480px) {
    .btn {
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 1.4rem;
        margin-bottom: 0;
        line-height: 1;
    }

    .hero p {
        font-size: 0.75rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .hero-buttons {
        flex-direction: row;
        width: 100%;
        gap: 5px;
    }

    .hero-buttons .btn {
        margin-bottom: 10px;
        align-self: start;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 0px;
        line-height: 1;
    }

    .section-subtitle {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-top: 5px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .step-number {
        width: 15px;
        height: 15px;
        font-size: 10px;
        top: -5px;
        right: -5px;
    }

    .process-step h3 {
        font-size: 1.4rem;
        margin-bottom: 0px;
        line-height: 1;
    }

    .process-step p {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-top: 5px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .stat-card {
        padding: 10px;
    }

    .stat-number {
        font-size: 1rem !important;
        margin-bottom: 0;
    }

    .stat-card div {
        font-size: 0.75rem;
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
    }

    .testimonial-header {
        margin-bottom: 5px;
    }

    .testimonial-header h4 {
        font-size: 1rem;
        margin: 0;
        line-height: 1;
    }

    .testimonial-header div {
        font-size: 0.75rem !important;
        margin: 0;
        line-height: 1.3;
    }

    .testimonial-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .social-proof i.fas {
        font-size: 1.4rem !important;
    }

    .social-proof p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .footer-section h3 {
        font-size: 1.4rem;
        margin: 0;
        text-align: left;
        line-height: 1;
    }

    .footer-section p,
    .footer-section div {
        font-size: 0.75rem;
        margin-bottom: 0 !important;
        gap: 3px !important;
        text-align: left;
        line-height: 1.3;
        margin-top: 5px;
    }

    .subscribe-box {
        flex-direction: row;
        gap: 9px;
    }

    .subscribe-box input {
        border-radius: 5px;
        width: 80%;
        font-size: 0.75rem !important;
    }

    .subscribe-box button {
        border-radius: 5px;
        padding: 10px;
        align-self: end;
    }

    .copyright {
        font-size: 0.75rem;
    }

    .chat-widget {
        bottom: 15px;
        right: 15px;
    }

    .chat-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .chat-indicator {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
}