@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #fbbf24;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --white: #fff;
    --success: #22c55e;
    --error: #ef4444;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, .95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color .3s;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-wrapper {
    position: relative;
}

.lang-btn {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--white);
    padding: .5rem .75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: all .3s;
    font-family: "Poppins", sans-serif;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .3);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    padding: .5rem;
    min-width: 160px;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
    z-index: 1001;
}

.lang-dropdown.active {
    display: block;
}

.lang-option {
    padding: .6rem .8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--white);
    font-size: .95rem;
    font-family: "Poppins", sans-serif;
}

.lang-option:hover {
    background: rgba(255, 255, 255, .1);
}

.lang-option.selected {
    background: rgba(99, 102, 241, .2);
    color: var(--primary);
}

.nav-cta {
    background: var(--gradient);
    color: var(--white);
    padding: .6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: .5rem;
    z-index: 1002;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, .98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    padding: .75rem 1.5rem;
    transition: color .3s;
}

.mobile-nav a:hover {
    color: var(--primary);
}

.mobile-nav .nav-cta {
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1rem;
}

body.menu-open {
    overflow: hidden;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, .15), transparent 50%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text>p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: transform .3s, box-shadow .3s;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, .4);
}

.btn-secondary {
    background: rgba(255, 255, 255, .1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .2);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--dark);
    width: 100%;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .5);
}

.hero-visual {
    position: relative;
}

.floating-badge {
    position: absolute;
    background: var(--dark-light);
    border-radius: 12px;
    padding: .875rem 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
    border: 1px solid rgba(255, 255, 255, .1);
    animation: float 3s ease-in-out infinite;
}

.floating-badge:nth-child(2) {
    animation-delay: -1s;
}

.floating-badge:nth-child(3) {
    animation-delay: -2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.badge-1 {
    top: 10%;
    right: -10px;
}

.badge-2 {
    bottom: 35%;
    left: -20px;
}

.badge-3 {
    bottom: 10%;
    right: 5%;
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.badge-icon.green {
    background: rgba(34, 197, 94, .2);
}

.badge-icon.blue {
    background: rgba(59, 130, 246, .2);
}

.badge-icon.purple {
    background: rgba(139, 92, 246, .2);
}

.badge-text {
    font-size: .85rem;
}

.badge-text strong {
    display: block;
    font-weight: 600;
}

.badge-text span {
    color: var(--gray);
    font-size: .7rem;
}

.stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: .85rem;
    color: var(--gray);
}

section {
    padding: 5rem 2rem;
}

section:nth-child(even) {
    background: var(--dark-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(99, 102, 241, .2);
    color: var(--primary);
    padding: .4rem 1rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: .75rem;
}

.section-header>p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 1.75rem;
    transition: transform .3s, border-color .3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

.feature-card p {
    color: var(--gray);
    font-size: .9rem;
}

.install-steps {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.install-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 1.5rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: .5rem;
}

.step-content p {
    color: var(--gray);
    font-size: .95rem;
}

.step-content a {
    color: var(--primary);
    text-decoration: none;
    font-size: .9rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.03);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: var(--dark);
    padding: .4rem 1rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: .25rem;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.plan-desc {
    color: var(--gray);
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.plan-features li {
    padding: .5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: .9rem;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.plan-features li.disabled {
    color: var(--gray);
}

.plan-features li.disabled::before {
    content: '✗';
    color: var(--error);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    padding: 1.25rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform .3s;
}

.faq-item.active .faq-q::after {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: all .3s;
}

.faq-item.active .faq-a {
    max-height: 200px;
    padding: 0 1.25rem 1.25rem;
}

.faq-a p {
    color: var(--gray);
}

#privacy {
    background: var(--dark-light);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h3 {
    font-size: 1.15rem;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.privacy-section p,
.privacy-section li {
    color: var(--gray);
    margin-bottom: .5rem;
    font-size: .95rem;
}

.privacy-section ul {
    list-style: none;
    padding-left: 1.25rem;
}

.privacy-section li::before {
    content: '•';
    color: var(--primary);
    margin-right: .5rem;
}

footer {
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand p {
    color: var(--gray);
    font-size: .85rem;
    margin-top: 1rem;
}

.footer-links h4 {
    font-size: .95rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: .85rem;
    display: block;
    margin-bottom: .5rem;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: .75rem;
    margin-top: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .3s;
}

.social-links a:hover {
    background: var(--gradient);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: .8rem;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal h2 {
    font-size: 1.4rem;
    margin-bottom: .5rem;
}

.modal-subtitle {
    color: var(--gray);
    margin-bottom: 1.25rem;
}

.modal-price {
    text-align: center;
    padding: 1.25rem;
    background: rgba(251, 191, 36, .1);
    border: 1px dashed rgba(251, 191, 36, .3);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.price-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
}

.price-label {
    color: var(--gray);
    font-size: .8rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: .4rem;
    font-size: .9rem;
}

.form-group input {
    width: 100%;
    padding: .75rem;
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-error {
    color: var(--error);
    font-size: .8rem;
    margin-top: .25rem;
    display: none;
}

.form-error.show {
    display: block;
}

.modal-btn {
    margin-top: .5rem;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: var(--success);
    font-size: .8rem;
    margin-top: 1rem;
}

.modal-footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: var(--gray);
    font-size: .75rem;
}

.modal-footer a {
    color: var(--primary);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    display: none;
}

.btn.loading .spinner {
    display: inline-block;
}

.btn.loading .btn-text {
    display: none;
}

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

@media(max-width:1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-visual {
        order: -1;
        text-align: center;
    }

    .hero-image {
        position: relative;
        top: 2rem;
    }

    .stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

    .floating-badge {
        padding: .6rem .8rem;
    }

    .floating-badge:nth-child(2) {
        top: 1.2rem;
    }

    .badge-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .badge-text {
        font-size: .75rem;
    }

    .badge-text span {
        font-size: .65rem;
    }

    .badge-1 {
        top: 5%;
        right: -5px;
    }

    .badge-2 {
        bottom: 30%;
        left: -10px;
    }

    .badge-3 {
        bottom: 5%;
        right: 0;
    }
}

@media(max-width:768px) {
    .nav-container {
        padding: 1rem 1.25rem;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .logo{
        width: 75%;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav {
        display: flex;
    }

    .nav-right {
        gap: .5rem;
    }

    .lang-btn {
        padding: .4rem .6rem;
        font-size: 1.2rem;
    }

    .lang-dropdown {
        display: none;
        border-radius: 20px 20px 20px 20px;
        width: 100%;
        min-width: 100%;
        padding: 1.5rem 1rem 2rem;
        z-index: 9999;
        transform: none !important;
    }

    .lang-dropdown.active {
        display: block;
        width: 180px;
    }

    .lang-option {
        padding: 1rem;
        font-size: 1.1rem;
        justify-content: center;
    }

    .lang-option:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 5.5rem 1.25rem 3rem;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text>p {
        font-size: 1rem;
    }

    .hero-image {
        max-width: 100%;
        position: relative;
        top: 2rem;
    }

    .hero-visual {
        position: relative;
    }

    .floating-badge {
        padding: .5rem .7rem;
        border-radius: 10px;
    }

    .floating-badge:nth-child(2) {
        top: 1.2rem;
    }

    .badge-icon {
        width: 28px;
        height: 28px;
        font-size: .9rem;
        border-radius: 8px;
    }

    .badge-text {
        font-size: .7rem;
    }

    .badge-text span {
        font-size: .6rem;
    }

    .badge-1 {
        top: -10px;
        right: 5px;
        left: auto;
    }

    .badge-2 {
        top: 50%;
        left: -5px;
        bottom: auto;
        transform: translateY(-50%);
    }

    .badge-3 {
        bottom: -10px;
        right: 10px;
        left: auto;
    }

    .stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

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

    section {
        padding: 3rem 1.25rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .install-step {
        flex-direction: column;
        gap: 1rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .plan-price {
        font-size: 2rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: .5rem;
        text-align: center;
    }

    .modal {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 16px;
    }
}

@media(max-width:768px) {
    .lang-dropdown.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
    }
}

@media(max-width:380px) {
    .logo {
        font-size: 1.2rem;
        width: 45%;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .btn {
        padding: .875rem 1.5rem;
        font-size: .9rem;
    }

    .stats {
        gap: 1rem;
    }

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

    .floating-badge {
        padding: .4rem .6rem;
    }

    .badge-icon {
        width: 24px;
        height: 24px;
        font-size: .8rem;
    }

    .badge-text {
        font-size: .65rem;
    }

    .badge-text strong {
        font-size: .65rem;
    }

    .badge-text span {
        display: none;
    }
}