/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6c4d92;
    --primary-light: #8b6ba8;
    --primary-dark: #5a3f7d;
    --secondary-color: #c6ab41;
    --accent-color: #e5c56a;
    --dark-color: #1a1a2e;
    --light-color: #f5f7fa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-color: #ffffff;
    --bg-alt: #f9f9f9;
}

body.dark-mode {
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --border-color: #404040;
    --bg-color: #242424;
    --bg-alt: #2f2f2f;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-color);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.navbar-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.navbar-logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.language-dropdown {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-color);
    color: var(--text-color);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
}

.language-dropdown:hover {
    background-color: var(--bg-alt);
}

.language-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.language-dropdown option {
    padding: 10px;
    background: var(--bg-color);
    color: var(--text-color);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
}

.dark-mode-toggle:hover {
    background-color: var(--bg-alt);
    transform: scale(1.1);
}

.dark-mode-toggle:focus {
    outline: none;
}

.dark-mode-toggle svg {
    transition: all 0.3s ease;
    width: 20px;
    height: 20px;
}

.dark-mode-toggle .icon-sun {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
}

body.dark-mode .dark-mode-toggle .icon-moon {
    opacity: 0;
    transform: rotate(90deg);
}

body.dark-mode .dark-mode-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg);
}

.navbar-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.navbar-menu a:hover {
    color: var(--primary-color);
}

.btn-demo {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(108, 77, 146, 0.3);
}

.btn-demo:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 77, 146, 0.4);
}

/* Hero Section */
.hero {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: transparent;
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 25px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 1;
    font-weight: 300;
    color: var(--text-light);
}
    line-height: 1.8;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 13px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 20px rgba(108, 77, 146, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 77, 146, 0.5);
}

.btn-secondary {
    background: var(--bg-color);
    color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-qr {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    background: var(--bg-color);
    animation: float 3s ease-in-out infinite;
}

.placeholder-image {
    width: 350px;
    height: 350px;
    background: rgba(108, 77, 146, 0.1);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
    color: var(--secondary-color);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-color);
}

.features h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 70px;
    font-weight: 700;
    color: var(--primary-color);
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-item.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.feature-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-light);
}

.feature-image {
    display: flex;
    justify-content: center;
}

.feature-image .feature-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.feature-image .placeholder-image {
    width: 420px;
    height: 320px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    font-size: 100px;
    color: white;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

/* Modules Section */
.modules {
    padding: 100px 0;
    background: var(--bg-color);
}

.modules h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 70px;
    font-weight: 700;
    color: var(--primary-color);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.module-card {
    background: var(--bg-alt);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.module-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.module-card i {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.module-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-color);
}

.module-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Features List Section */
.features-list {
    padding: 100px 0;
    background: var(--bg-color);
}

.features-list h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 70px;
    font-weight: 700;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.feature-list-item {
    background: var(--bg-alt);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.feature-list-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.12);
    border-color: var(--primary-color);
}

.feature-list-item i {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-list-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-color);
}

.pricing h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 70px;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.pricing-card {
    background: var(--bg-alt);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.pricing-card:hover {
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.pricing-card .price span {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 35px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
    font-size: 16px;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 30px;
}

/* Contact Section */
.contact {
    background: var(--bg-alt);
    padding: 90px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form h2 {
    font-size: 38px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-form p {
    color: var(--text-color);
    font-size: 17px;
    margin-bottom: 25px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    background: var(--bg-alt);
    color: var(--text-color);
    box-shadow: 0 6px 18px rgba(108, 77, 146, 0.08);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 77, 146, 0.15);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.contact-info p {
    margin: 6px 0;
    color: var(--text-color);
    line-height: 1.6;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Support Section */
.support {
    background: var(--primary-color);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.support::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: transparent;
    border-radius: 50%;
}

.support-content {
    position: relative;
    z-index: 1;
}

.support-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
    font-weight: 700;
}

.support-content p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.support-content .btn {
    margin-top: 10px;
}

/* Make support CTA visible on primary background */
.support .btn {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.support .btn:hover {
    background: var(--secondary-color);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--bg-alt);
    color: var(--text-color);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-simple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo-small {
    height: 28px;
    width: auto;
    margin-right: 10px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-weight: 600;
}

.footer-right a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

.footer .dot {
    color: var(--text-light);
}

.footer-section h4 {
    font-size: 15px;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #b0b8d4;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-content .footer-section:first-child p {
    font-size: 14px;
    color: #999;
    margin-top: 20px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        padding: 12px 15px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--bg-color);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        align-items: stretch;
        border-left: 1px solid var(--border-color);
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-menu li {
        width: 100%;
    }

    .navbar-menu li a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid var(--border-color);
        font-size: 15px;
    }

    .navbar-menu li a:hover {
        background-color: var(--bg-alt);
    }

    .btn-demo {
        margin: 10px 25px;
        text-align: center;
        display: block;
    }

    .navbar-logo img {
        height: 40px;
    }

    .navbar-controls {
        gap: 8px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        padding: 30px 15px;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .feature-item {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
        gap: 30px;
    }

    .feature-item.reverse {
        direction: ltr;
    }

    .feature-item.reverse > * {
        direction: ltr;
    }

    .feature-content h3 {
        font-size: 26px;
    }

    .feature-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .feature-image .placeholder-image {
        width: 100%;
        height: 220px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-features {
        text-align: left;
    }

    .pricing-features li {
        justify-content: flex-start;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .modules-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-simple {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        gap: 10px;
    }

    .features,
    .modules,
    .pricing,
    .contact,
    .support,
    .features-list {
        padding: 40px 15px !important;
    }

    h2 {
        font-size: 26px !important;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 10px;
    }

    .navbar-menu {
        top: 60px;
        height: calc(100vh - 60px);
        width: 250px;
    }

    .navbar-menu li a {
        padding: 12px 20px;
        font-size: 14px;
    }

    .navbar-logo img {
        height: 35px;
    }

    .dark-mode-toggle {
        min-width: 36px;
        height: 36px;
        padding: 6px;
    }

    .language-dropdown {
        font-size: 11px;
        padding: 6px 8px;
        padding-right: 20px;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }

    .mobile-menu-toggle span {
        width: 20px;
    }

    .navbar-controls {
        gap: 6px;
    }

    .hero {
        padding: 20px 0;
    }

    .hero .container {
        padding: 20px 12px;
    }

    .hero-content h1 {
        font-size: 22px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .hero-image {
        margin-top: 20px;
    }

    .hero-qr {
        max-width: 80%;
    }

    .features h2,
    .modules h2,
    .pricing h2,
    .features-list h2,
    .support-content h2,
    .contact h2 {
        font-size: 22px;
    }

    .feature-content h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .feature-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .feature-item {
        gap: 20px;
        margin-bottom: 30px;
        grid-template-columns: 1fr;
    }

    .feature-item.reverse {
        direction: ltr;
        grid-template-columns: 1fr;
    }

    .feature-item.reverse > * {
        direction: ltr;
    }

    .placeholder-image {
        font-size: 50px !important;
        height: 180px;
        min-height: 180px;
    }

    .module-card h4,
    .feature-list-item h4 {
        font-size: 16px;
    }

    .module-card p,
    .feature-list-item h4 {
        font-size: 14px;
    }

    .pricing-card h3 {
        font-size: 18px;
    }

    .pricing-card .price {
        font-size: 20px;
    }

    .pricing-features li {
        font-size: 13px;
    }

    .contact-form h2,
    .contact-info h3 {
        font-size: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .features,
    .modules,
    .pricing,
    .contact,
    .support,
    .features-list {
        padding: 30px 12px !important;
    }

    .footer-simple {
        flex-direction: column;
        gap: 15px;
    }

    .footer-logo-small {
        height: 30px;
    }
}
