/* Custom Variables based on Logo */
:root {
    --primary-blue: #0047ab;
    --accent-orange: #ff7f00;
    --dark-bg: #0a0e14;
    --light-gray: #f4f7f6;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s ease;
    --scroll-progress: 0%;
}

[data-theme="dark"] {
    --light-gray: #1a1f2e;
    --white: #f0f4f8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
}

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

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar.scrolled .logo img {
    height: 40px;
}

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

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo a {
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    margin-left: 25px;
    transition: var(--transition);
    position: relative;
}

.nav-links li a:hover {
    color: var(--accent-orange);
}

.nav-links li a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    border-radius: 1px;
}

/* Buttons */
.btn-primary {
    background: var(--accent-orange);
    color: white !important;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.btn-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: bold;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: all;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%), 
                radial-gradient(circle at 80% 20%, rgba(255, 127, 0, 0.3) 0%, transparent 50%), 
                linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    z-index: 1;
}

.testimonial-card {
    animation: slideIn 0.6s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.price-card:hover {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0% { transform: translateY(-5px) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
    100% { transform: translateY(-5px) scale(1); }
}

.step-card:hover::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--accent-orange);
    animation: glow 1s ease infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px var(--accent-orange); }
    to { box-shadow: 0 0 20px var(--accent-orange); }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 71, 171, 0.05);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-btns a {
    margin: 0 10px;
}

/* Section Styling */
section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

#how-it-works,
#services,
#remote,
#faqs,
#about,
#contact {
    scroll-margin-top: 80px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-blue);
}

/* Step Cards - Glassmorphism */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--accent-orange);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(var(--primary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: 10px;
    right: 20px;
}

/* Pricing */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.price-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.price-card.featured {
    background: linear-gradient(135deg, rgba(0,71,171,0.1), rgba(255,127,0,0.1));
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,71,171,0.3);
}

.price-card h3 { 
    color: var(--primary-blue); 
    margin-bottom: 15px; 
}

.price-card .price { 
    font-size: 1.5rem; 
    margin-bottom: 20px; 
}
.price-card .price span { 
    font-size: 2.5rem; 
    font-weight: 800; 
    color: var(--accent-orange); 
}

.price-card ul { 
    list-style: none; 
    margin-bottom: 20px; 
    text-align: left; 
}
.price-card ul li { 
    margin-bottom: 10px; 
    padding-left: 20px; 
    position: relative; 
}
.price-card ul li::before { 
    content: "✓"; 
    color: var(--accent-orange); 
    position: absolute; 
    left: 0; 
    font-weight: bold; 
}

/* Remote Box */
.remote-box {
    background: var(--primary-blue);
    color: white;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
}

.remote-box h2 { 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
}
.remote-box p { 
    margin-bottom: 30px; 
    font-size: 1.1rem; 
}
.remote-box .btn-secondary { 
    border-color: white; 
    color: white; 
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea { 
    height: 150px; 
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8ecf4 100%);
    padding: 100px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-orange);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 300;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Trust Badges */
.trust-badges {
    padding: 60px 0;
    background: var(--white);
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.badge {
    padding: 30px 20px;
    transition: var(--transition);
}

.badge:hover svg {
    transform: scale(1.1);
}

.badge svg {
    margin-bottom: 15px;
    transition: var(--transition);
}

.badge h4 {
    color: var(--primary-blue);
    font-weight: 600;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-gray);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-orange);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

.faq-item h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    cursor: pointer;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    margin: auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
}

.close:hover {
    color: var(--primary-blue);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, var(--primary-blue), var(--accent-orange));
    color: white;
    padding: 15px 0;
    text-align: center;
    z-index: 1001;
    transform: translateY(100%);
    transition: var(--transition);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.close-cta {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}

/* Scroll Progress */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: var(--scroll-progress);
    height: 4px;
    background: linear-gradient(var(--accent-orange), var(--primary-blue));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Dark Mode Toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(0,71,171,0.1);
}

/* Enhanced Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 40px;
    position: relative;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.social-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: none;
    background: var(--glass-bg);
    color: var(--white);
}

.social-btn:hover {
    transform: translateY(-4px);
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.facebook:hover { background: rgba(24, 119, 242, 0.2); }
.instagram:hover { background: rgba(225, 48, 108, 0.2); }
.tiktok:hover { background: rgba(0, 0, 0, 0.8); }

.footer-newsletter {
    display: flex;
    max-width: 450px;
    margin: 0 auto 2.5rem;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-newsletter input {
    flex: 1;
    min-width: 250px;
    padding: 14px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--white);
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.footer-newsletter input::placeholder {
    color: rgba(255,255,255,0.6);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255,127,0,0.1);
}

.footer-newsletter button {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.footer-newsletter button:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-copyright {
    text-align: center;
    opacity: 0.8;
    font-size: 0.95rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copyright p {
    margin: 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
}

/* Mobile Responsive - Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-social {
        gap: 1rem;
    }
    
    .footer-newsletter {
        flex-direction: column;
        max-width: 100%;
    }
    
    .footer-newsletter input {
        border-radius: 8px;
        min-width: auto;
        margin-bottom: 1rem;
    }
    
    .footer-newsletter button {
        border-radius: 8px;
        width: 100%;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 20px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1001;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li a {
        margin-left: 0;
        font-size: 1.2rem;
        padding: 10px 20px;
        border-radius: 5px;
        width: 100%;
        text-align: center;
    }
    
    .hero h1 { 
        font-size: 2.5rem; 
    }
    
    .hero-btns a {
        display: block;
        margin: 10px 0;
    }
    
    .price-card.featured { 
        transform: scale(1); 
    }
    
    .testimonial-grid,
    .badge-grid {
        grid-template-columns: 1fr;
    }
    
    .sticky-cta .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .modal-content {
        width: 95%;
        padding: 30px 20px;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
