:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #3730a3;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
}

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

/* Header */
header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: var(--primary);
}

.nav-tabs {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-tabs a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

.nav-link.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
}

.nav-link:hover:not(.active) {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(93, 108, 248, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 108, 248, 0.4);
}

.btn-primary {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3); }
}

/* Specific styling for the Download/Call-to-action buttons to make them pop! */
.btn-primary.dl-trigger {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    color: #ffffff;
    border: none;
}

.btn-primary.dl-trigger:hover {
    background: linear-gradient(135deg, #FF8E53 0%, #FF6B6B 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

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

main {
    padding-top: 80px;
}

/* Scroll Animations */
.animate-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 60px;
    padding-bottom: 100px;
    min-height: calc(100vh - 80px);
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1A1C30;
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

.hero-market-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

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

/* Features */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Troubleshooting Section */
.troubleshooting {
    padding: 100px 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50px;
    margin: 40px auto;
}

.issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    #hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #hero h1 { font-size: 3rem; }
    .hero-image { justify-content: center; }
    
    .feature-grid, .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        position: fixed; /* Keep it fixed but ensure it doesn't cover content */
    }
    nav {
        height: auto;
        padding: 0.8rem 0;
        flex-direction: column;
        gap: 0.5rem;
    }
    .logo {
        font-size: 1.5rem;
    }
    .nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
        width: 100%;
    }
    .nav-tabs li {
        width: auto;
    }
    .nav-tabs a {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    .btn-primary.dl-trigger {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    main { 
        padding-top: 200px;
    }
    #hero h1 { font-size: 2.2rem; }
    #hero p { font-size: 1rem; }
    
    .feature-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-btns button, .hero-btns a {
        width: 100%;
        text-align: center;
        display: block;
    }

    .support-card {
        padding: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    main {
        padding-top: 240px; /* Extra padding for very narrow screens */
    }
}
.issue-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.issue-card h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.issue-card ul {
    list-style: none;
}

.issue-card li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.issue-card strong {
    display: block;
    color: var(--text-dark);
}

.feature-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

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

.faq-item {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 1rem;
}

/* Support Section */
.support-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, #D8E4FF 100%);
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.support-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: 32px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.team-card {
    background: rgba(255,255,255,0.6);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.4);
    transition: var(--transition);
}

.team-card:hover {
    background: var(--white);
    transform: translateY(-5px);
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.team-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.contact-link {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.support-form {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
    background: rgba(255,255,255,0.4);
    padding: 2.5rem;
    border-radius: 24px;
}

.support-form input, .support-form select, .support-form textarea {
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
}

.support-form input:focus, .support-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(93, 108, 248, 0.1);
}

/* Footer */
footer {
    padding: 80px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
}

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

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

.modal {
    background: var(--white);
    padding: 3rem;
    border-radius: 32px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--primary);
}

.close-modal {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.modal-body p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

