:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --primary-light: #e7f1ff;
    --secondary: #6c757d;
    --success: #28a745;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --border: #dee2e6;
    --container-width: 1200px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
.highlight {
    color: var(--primary);
}

h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--border);
    transform: translateY(-2px);
}

.btn-primary-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
}

.btn-primary-outline:hover {
    background-color: var(--primary);
    color: white;
}

.full-width {
    width: 100%;
}

/* Legacy Banner */
.legacy-banner {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 8px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legacy-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 700;
    margin-left: 4px;
}

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 40px; /* Adjusted for legacy-banner */
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img-scaled {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-primary-outline) {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 200px 0 100px; /* Increased from 160px for banner */
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-white) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.app-badges {
    margin-top: 32px;
}

.play-store-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.play-store-badge .badge-text {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.play-store-badge .badge-content {
    background: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.6; /* Indicating it's not active yet */
    cursor: default;
    border: 1px solid #333;
}

.play-store-badge .text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.play-store-badge .get-it-on {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
}

.play-store-badge .google-play {
    font-size: 1.1rem;
    font-weight: 600;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #111;
    border-radius: 40px;
    padding: 10px;
    border: 8px solid #333;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    overflow: hidden;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.phone-frame.small {
    width: 240px;
    height: 480px;
}

/* Features */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    padding: 40px;
    border-radius: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-muted);
}

/* Pro Section */
.pro-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.pro-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pro-features {
    margin: 30px 0;
}

.pro-features li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.pro-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Showcase */
.showcase {
    padding: 100px 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-card {
    text-align: center;
}

.gallery-card img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.gallery-card:hover img {
    transform: scale(1.02);
    border-color: var(--primary);
}

.gallery-card p {
    font-weight: 600;
    color: var(--text-muted);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column layout for FAQs */
    gap: 20px;
}

.faq-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.faq-item details {
    cursor: pointer;
}

.faq-item summary {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none; /* Hide default arrow */
    position: relative;
    padding-right: 30px; /* Space for custom arrow */
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-item details[open] summary::after {
    content: '-';
    transform: rotate(0deg);
}

.faq-item details[open] summary {
    color: var(--primary);
}

.faq-item p {
    margin-top: 15px;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Support */
.support {
    padding: 100px 0;
    background-color: var(--primary-light);
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-links {
    margin-top: 40px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.contact-card:hover {
    transform: translateX(8px);
    border-color: var(--primary);
}

.contact-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    color: #25D366; /* WhatsApp Green */
}

.contact-card strong {
    display: block;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid var(--border);
    width: 80%;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close {
    color: var(--text-muted);
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary);
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 15px;
    margin-top: 20px;
}

.modal-body h3 {
    margin: 25px 0 10px;
    font-size: 1.25rem;
    color: var(--primary);
}

.modal-body p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.modal-body ul {
    margin-bottom: 15px;
    list-style-type: disc;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.support-form-container {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

input, textarea {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    outline: none;
}

input:focus, textarea:focus {
    border-color: var(--primary);
}

/* Footer */
footer {
    padding: 80px 0 60px;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.footer-grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section ul a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-section ul a:hover {
    color: var(--primary);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 16px;
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .pro-card, .support-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p, .pro-info p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .feature-grid, .gallery {
        grid-template-columns: 1fr;
    }
    
    .footer-grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 40px;
        border-bottom: 1px solid var(--border);
        gap: 24px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section ul {
        align-items: center;
    }
}
