/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #18D26E;
}

.btn-primary {
    background: #18D26E;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #15b85a;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.6));
    z-index: -1;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    color: white;
    max-width: 600px;
    flex: 1;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}



.btn-hero {
    background: #18D26E;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: #15b85a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(24, 210, 110, 0.3);
}

.hero-phones {
    flex: 0 0 400px;
    position: relative;
    animation: fadeInUp 1s ease 0.3s both;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(24, 210, 110, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #18D26E;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.icon-1 { top: 10%; left: 10%; animation-delay: 0s; }
.icon-2 { top: 20%; right: 10%; animation-delay: 0.5s; }
.icon-3 { bottom: 30%; left: 5%; animation-delay: 1s; }
.icon-4 { bottom: 10%; right: 15%; animation-delay: 1.5s; }

.phone-mockup {
    position: absolute;
    width: 250px;
    height: 500px;
    background: #000;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: phoneFloat 4s ease-in-out infinite;
}

.phone-1 {
    top: 0;
    left: 0;
    z-index: 2;
    transform: rotate(-5deg);
    animation-delay: 0s;
}

.phone-2 {
    top: 50px;
    left: 100px;
    z-index: 1;
    transform: rotate(5deg);
    animation-delay: 2s;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 22px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
}

.screen-header {
    text-align: center;
    margin-bottom: 20px;
}

.status-bar {
    width: 60px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    margin: 0 auto 15px;
}

.screen-header h4 {
    color: #0A2540;
    font-size: 1rem;
    margin: 0;
}

.scanner-area {
    flex: 1;
    position: relative;
    background: #0A2540;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.scan-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 3px solid #18D26E;
    border-radius: 10px;
    animation: pulse 2s infinite;
}

.scan-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 2px;
    background: #18D26E;
    animation: scanLine 2s linear infinite;
}

.scan-result {
    background: white;
    border-radius: 10px;
    padding: 10px;
}

.result-item {
    color: #0A2540;
    font-size: 0.8rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.dashboard-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: statPulse 3s ease-in-out infinite;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #18D26E;
    margin-bottom: 5px;
    animation: numberCount 2s ease-out;
}

.stat-label {
    color: #64748b;
    font-size: 0.8rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0A2540;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #18D26E, #15b85a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0A2540;
    margin-bottom: 4rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #18D26E;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 2rem;
}

.step-image {
    margin-bottom: 2rem;
}

.step-image img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 1rem;
}

.step p {
    color: #64748b;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: #f8fafc;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0A2540;
    margin-bottom: 4rem;
}

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

.pricing-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid #18D26E;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #18D26E;
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A2540;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: #64748b;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #0A2540;
}

.period {
    font-size: 1rem;
    color: #64748b;
}

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

.features-list li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #18D26E;
    font-weight: bold;
}

.btn-pricing {
    width: 100%;
    background: #0A2540;
    color: white;
    border: none;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pricing:hover {
    background: #18D26E;
    transform: translateY(-2px);
}

.featured .btn-pricing {
    background: #18D26E;
}

.featured .btn-pricing:hover {
    background: #15b85a;
}

.pricing-card.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.pricing-card.disabled .btn-pricing {
    background: #94a3b8;
    cursor: not-allowed;
}

.pricing-card.disabled .popular-badge {
    background: #94a3b8;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0A2540;
    margin-bottom: 4rem;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-content p {
    font-size: 1.25rem;
    color: #64748b;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: #0A2540;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.9rem;
}

.testimonial-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #cbd5e1;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #18D26E;
}

/* Footer */
.footer {
    background: #0A2540;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #18D26E;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #18D26E;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes scanLine {
    0% { transform: translate(-50%, -50%) translateY(-70px); }
    100% { transform: translate(-50%, -50%) translateY(70px); }
}

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

@keyframes numberCount {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-phones {
        flex: 0 0 300px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
        padding: 15px;
    }
    
    .phone-2 {
        top: 30px;
        left: 80px;
    }
    

    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .features h2,
    .how-it-works h2,
    .pricing h2,
    .testimonials h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .testimonial-author {
        flex-direction: column;
    }
}

/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.popup-header h3 {
    color: #0A2540;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #0A2540;
}

.popup-body {
    padding: 2rem;
}

.popup-body p {
    color: #64748b;
    margin-bottom: 2rem;
    text-align: center;
}

#qrForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#qrForm input,
#qrForm textarea {
    padding: 12px 16px;
  
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    resize: vertical;
}

#qrForm input:focus,
#qrForm textarea:focus {
    outline: none;
    border-color: #18D26E;
}

.btn-popup {
    background: #18D26E;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-popup:hover {
    background: #15b85a;
    transform: translateY(-2px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .feature-card,
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .popup-content {
        width: 95%;
    }
    
    .popup-header,
    .popup-body {
        padding: 1.5rem;
    }
}

/* Material UI Form Styles */
.mui-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mui-textfield {
    position: relative;
    margin-bottom: 16px;
}

.mui-textfield input,
.mui-textfield textarea {
    width: 100%;
    padding: 16px 12px 8px 12px;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    background: transparent;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.mui-textfield textarea {
    resize: vertical;
    min-height: 80px;
}

.mui-textfield label {
    position: absolute;
    left: 12px;
    top: 16px;
    font-size: 16px;
    color: #666;
    pointer-events: none;
    transition: all 0.2s ease;
    background: white;
    padding: 0 4px;
}

.mui-textfield input:focus,
.mui-textfield textarea:focus {
    outline: none;
    border-color: #1976d2;
    border-width: 2px;
}

.mui-textfield input:focus + label,
.mui-textfield textarea:focus + label,
.mui-textfield input:valid + label,
.mui-textfield textarea:valid + label {
    top: -8px;
    font-size: 12px;
    color: #1976d2;
}

.mui-textfield input:valid + label,
.mui-textfield textarea:valid + label {
    color: #666;
}

.mui-button {
    background: #18D26E;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.mui-button:hover {
    background: #15b85e;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.mui-button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}