/* Global Variables */
:root {
    --primary-color: #2196F3;
    --primary-dark: #1976D2;
    --primary-light: #BBDEFB;
    --accent-color: #03DAC6;
    --text-dark: #212121;
    --text-light: #757575;
    --text-lighter: #9E9E9E;
    --background: #F5F5F5;
    --white: #FFFFFF;
    --black: #000000;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Basic Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: rgba(33, 150, 243, 0.1);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn i {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

/* Header & Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.5rem;
}

/* Update logo styles for SVG */
.logo img {
    height: 40px;
    width: 40px; /* Add width to maintain aspect ratio */
    margin-right: 0.625rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a:focus::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 4rem 5% 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.play-store-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.play-store-badge img {
    height: 40px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    max-width: 500px;
}

.hero-image img {
    max-height: 600px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

/* Section Common Styles */
section {
    padding: 5rem 5%;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.section-heading p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Screenshots Section */
.screenshots {
    background-color: var(--white);
}

.screenshot-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.screenshot-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshot-slider::-webkit-scrollbar {
    display: none;
}

.screenshot {
    flex: 0 0 auto;
    width: 250px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.screenshot img {
    width: 100%;
    height: 450px;
    object-fit: contain; /* Change to contain to preserve SVG aspect ratio */
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background-color: var(--white); /* Add background for transparent SVGs */
}

.screenshot p {
    padding: 1rem;
    text-align: center;
    font-weight: 500;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.slider-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.slider-controls button:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Download Section */
.download {
    max-width: 1200px;
    margin: 0 auto;
}

.download-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 2;
}

/* Update app-icon styles for SVG */
.app-icon {
    width: 100px;
    height: 100px;
    display: flex; /* Add flex display */
    align-items: center; /* Center SVG vertically */
    justify-content: center; /* Center SVG horizontally */
    background-color: var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.app-icon img {
    width: 80px; /* Size the SVG appropriately */
    height: 80px;
}

.app-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.app-details ul {
    list-style: none;
}

.app-details li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-details li i {
    color: var(--accent-color);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    align-items: center;
}

.download-buttons .btn-primary {
    width: 100%;
    max-width: 250px;
}

.play-store-coming {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.play-store-coming img {
    height: 30px;
}

/* About Section */
.about {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.contact-button {
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 4rem 5% 1rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.25rem;
}

/* Update footer logo styles for SVG */
.footer-logo img {
    height: 40px;
    width: 40px; /* Add width to maintain aspect ratio */
    margin-right: 0.625rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a, .footer-contact a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover, .footer-contact a:hover {
    opacity: 1;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
    max-width: 1200px;
    margin: 0 auto;
}

/* Web Version Section */
.web-version {
    background-color: var(--white);
    padding: 5rem 5% 6rem;
}

.web-version-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.web-version-image {
    flex: 1;
    max-width: 550px;
}

.web-version-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.web-version-image:hover img {
    transform: translateY(-5px);
}

.web-version-text {
    flex: 1;
    max-width: 550px;
}

.web-version-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.web-version-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.125rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list i {
    color: var(--accent-color);
    font-size: 1.125rem;
}

.web-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .web-version-content {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-list {
        display: inline-block;
        text-align: left;
    }
    
    .web-buttons {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        text-align: center;
        margin-bottom: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .download-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .screenshot {
        width: 200px;
    }

    .screenshot img {
        height: 380px;
    }

    .download-info {
        flex-direction: column;
    }

    .footer-top {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshot {
        width: 180px;
    }

    .screenshot img {
        height: 320px;
    }

    .download-card {
        padding: 2rem 1rem;
    }
}

/* Beta Tag Styling */
.beta-tag {
    display: inline-block;
    background-color: #FF9800;
    color: var(--white);
    font-size: 0.6em;
    padding: 0.2em 0.5em;
    border-radius: var(--radius-sm);
    vertical-align: super;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-left: 0.5rem;
}

/* Beta Warning Banner */
.beta-warning {
    background-color: rgba(255, 152, 0, 0.15);
    border-left: 4px solid #FF9800;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin: 0 auto 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 1000px;
}

.warning-icon {
    color: #FF9800;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.warning-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.warning-link:hover {
    color: var(--primary-dark);
}
