/* CSS Variables for Dark/Neon Theme */
:root {
    --bg-dark: #000000;
    --bg-card: rgba(15, 15, 15, 0.8);
    --bg-card-border: rgba(57, 255, 20, 0.2);
    
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    
    --neon-green: #39ff14; /* Lime green */
    --neon-green-dark: #228b22;
    --neon-glow: 0 0 15px rgba(57, 255, 20, 0.5);
    
    --brand-danger: #ef4444;
    --brand-warning: #fbbf24;
    --brand-info: #3b82f6;

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--neon-green);
    text-shadow: var(--neon-glow);
}

.hero-title .highlight {
    color: var(--text-main);
    font-style: italic;
    font-weight: 400;
    text-shadow: none;
}

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

/* Base Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--neon-green);
    color: #000;
}

.btn-primary:hover {
    background-color: #32e612;
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

.btn-outline {
    border-color: var(--neon-green);
    color: var(--neon-green);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(57, 255, 20, 0.1);
    box-shadow: var(--neon-glow);
}

.glow-effect {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 5px rgba(57, 255, 20, 0.4); }
    50% { box-shadow: 0 0 25px rgba(57, 255, 20, 0.8); }
    100% { box-shadow: 0 0 5px rgba(57, 255, 20, 0.4); }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 26px;
    font-weight: 800;
    color: var(--neon-green);
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links > a, 
.dropdown-toggle {
    color: var(--text-main);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.nav-links > a:hover,
.nav-links > a.active,
.dropdown:hover .dropdown-toggle {
    color: var(--neon-green);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

/* Dropdown */
.dropdown {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    border: 1px solid rgba(57, 255, 20, 0.2);
    min-width: 240px;
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(57, 255, 20, 0.1);
    color: var(--neon-green);
}

/* Flag Icon */
.flag-icon {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
}
.lang-menu {
    min-width: 140px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 60px;
    position: relative;
    overflow: hidden;
}

/* Spotlight effect */
.hero-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.12) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(57, 255, 20, 0.4);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    z-index: 2;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    animation: float-anim 6s ease-in-out infinite;
}

.floating-badge i {
    font-size: 24px;
}

.badge-top-left {
    top: 25%;
    left: 15%;
    animation-delay: 0s;
}

.badge-bottom-right {
    bottom: 25%;
    right: 15%;
    animation-delay: -3s;
}

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

@media (max-width: 900px) {
    .floating-badge {
        display: none;
    }
}

.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 1;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 0;
    z-index: 1;
}

.portfolio-card {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 15px 40px rgba(57, 255, 20, 0.1);
}

.portfolio-img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-img-wrapper img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 24px;
    text-align: center;
}

.portfolio-title {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}

.hero-title {
    font-size: 48px;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.badge {
    display: inline-block;
    color: var(--neon-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    font-family: var(--font-main);
}
.badge::before {
    content: "— ";
}

.hero-title {
    font-size: 48px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-cta-group {
    margin-bottom: 24px;
}

.trust-text {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.trust-text i {
    color: var(--neon-green);
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 36px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

/* Problem Section */
.problem-section {
    background: #0f151b;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
}

.icon-box.danger { background: rgba(239, 68, 68, 0.1); color: var(--brand-danger); }
.icon-box.warning { background: rgba(251, 191, 36, 0.1); color: var(--brand-warning); }
.icon-box.info { background: rgba(59, 130, 246, 0.1); color: var(--brand-info); }

.problem-card h3 {
    font-size: 20px;
    color: #fff;
}

.problem-card p {
    color: var(--text-muted);
}

.problem-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 20px;
    font-weight: 600;
    color: var(--neon-green);
}

/* Solution Section */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.solution-img {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57,255,20,0.2) 0%, rgba(0,0,0,0) 70%);
    box-shadow: 0 0 50px rgba(57,255,20,0.1);
}

.floating-box {
    position: absolute;
    background: rgba(10, 14, 18, 0.9);
    border: 1px solid var(--neon-green);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.box-1 { top: 10%; left: 10%; }
.box-2 { bottom: 20%; right: 10%; animation-delay: -3s; }

.floating-box i {
    color: var(--neon-green);
    font-size: 24px;
}

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

.solution-content h2 {
    font-size: 36px;
}

.solution-content > p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 32px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-item i {
    color: var(--neon-green);
    font-size: 24px;
    margin-top: 4px;
}

.feature-item h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.feature-item p {
    color: var(--text-muted);
}

/* Benefits Section */
.benefits-section {
    background: #0f151b;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.benefit-box {
    background: var(--bg-card);
    padding: 40px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.02);
    transition: var(--transition);
}

.benefit-box:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.1);
}

.benefit-box i {
    font-size: 48px;
    color: var(--neon-green);
    margin-bottom: 20px;
}

.benefit-box h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.benefit-box p {
    color: var(--text-muted);
}

/* Pricing Section */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: center; /* Center to make the middle one pop out */
}

.price-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.plan-desc {
    color: var(--text-muted);
    font-size: 14px;
    min-height: 42px;
    margin-bottom: 24px;
}

.price {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.features li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.features li i {
    color: var(--neon-green);
}

.price-card.popular {
    transform: scale(1.05);
    border-color: var(--neon-green);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.15);
    background: linear-gradient(180deg, rgba(22, 33, 41, 0.9) 0%, rgba(10, 14, 18, 0.9) 100%);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-green);
    color: #000;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
}

.highlight-price {
    color: var(--neon-green);
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(22,33,41,0.8) 0%, rgba(57,255,20,0.1) 100%);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 24px;
    padding: 64px 24px;
    text-align: center;
}

.cta-box h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.cta-box p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    font-size: 18px;
    padding: 16px 40px;
    margin-bottom: 16px;
}

.sub-cta {
    font-size: 14px !important;
    color: var(--neon-green) !important;
    margin-bottom: 0 !important;
}

/* Footer */
footer {
    background: rgba(0,0,0,0.5);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Contact Form Section */
.contact-section {
    background: linear-gradient(135deg, rgba(22, 33, 41, 0.9) 0%, rgba(10, 14, 18, 1) 100%);
    border-top: 1px solid rgba(57, 255, 20, 0.2);
    padding: 80px 0;
}

.contact-form {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-form input[type="text"],
.contact-form input[type="tel"] {
    flex: 1;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f151b;
    color: var(--text-main);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.flex-submit {
    padding: 16px 32px;
    min-width: 200px;
    border-radius: 8px;
    font-size: 16px;
}

/* reCAPTCHA mockup */
.recaptcha-mockup {
    margin-top: 8px;
}

.recaptcha-box {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    color: #333;
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid #d3d3d3;
    gap: 12px;
    cursor: pointer;
    width: fit-content;
}

.recaptcha-box input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.rc-text {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.rc-logo {
    height: 30px;
    margin-left: 20px;
}

/* Floating Socials */
.floating-socials {
    position: fixed;
    right: 32px;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-btn.phone { background: #ef4444; }
.social-btn.messenger { background: #0084ff; }
.social-btn.zalo { background: #0068ff; font-size: 14px; }

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #0a0e12;
    border: 1px solid var(--neon-green);
    border-radius: 16px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(50px);
    transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.15);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 32px;
    cursor: pointer;
    transition: var(--transition);
}
.modal-close:hover {
    color: var(--neon-green);
    transform: scale(1.1);
}

.modal-header h3 {
    font-size: 28px;
    color: var(--neon-green);
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 15px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f151b;
    color: var(--text-main);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
    font-family: var(--font-main);
}

.modal-form input:focus,
.modal-form textarea:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.btn-full {
    width: 100%;
    margin-top: 8px;
    font-size: 16px;
    padding: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    
    .price-card.popular {
        transform: scale(1);
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-img {
        order: -1;
    }
    
    .form-row {
        flex-direction: column;
    }
    .contact-form input[type="text"],
    .contact-form input[type="tel"],
    .flex-submit {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .nav-links, .navbar .btn {
        display: none;
    }
    
    .rc-logo {
        height: 24px;
        margin-left: 10px;
    }
    
    .floating-socials {
        right: 16px;
        bottom: 16px;
    }
}
