/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

:root {
    --primary-color: #6766FF;
    --secondary-color: #4F46E5;
    --accent-color: #EC4899;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #6766FF 0%, #4F46E5 100%);
    --gradient-secondary: linear-gradient(135deg, #EC4899 0%, #BE185D 100%);
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Mobile-first font sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
    overflow-x: hidden;
    font-size: var(--font-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile-first container */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Progressive enhancement for larger screens */
@media (min-width: 640px) {
    .container {
        max-width: 640px;
        padding: 0 1.5rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Mobile-First Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 1rem;
}

/* Mobile logo optimization */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

.logo-text {
    font-size: var(--font-lg);
    font-weight: 700;
}

/* Mobile menu - hidden by default */
.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-base);
    transition: var(--transition);
    position: relative;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    display: block;
    text-align: center;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(103, 102, 255, 0.1);
}

.download-btn {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    margin-top: 0.5rem;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-primary);
}

/* Mobile hamburger menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: var(--transition);
    border-radius: 1px;
}

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

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

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

/* Tablet and Desktop Navigation */
@media (min-width: 768px) {
    .nav-container {
        height: 70px;
        padding: 0 2rem;
    }
    
    .nav-logo {
        gap: 0.75rem;
        font-size: var(--font-xl);
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: none;
    }
    
    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 2rem;
        width: auto;
    }
    
    .nav-link {
        padding: 0;
        background: none !important;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient-primary);
        transition: var(--transition);
    }
    
    .nav-link:hover::after {
        width: 100%;
    }
    
    .download-btn {
        margin-top: 0;
        padding: 0.75rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .logo-icon {
        width: 45px;
        height: 45px;
    }
}

/* Mobile-First Hero Section */
.hero {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236766FF' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    gap: 2rem;
    width: 100%;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(103, 102, 255, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: var(--font-sm);
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(103, 102, 255, 0.2);
}

.hero-badge-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-title {
    font-size: var(--font-3xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-base);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 100%;
    padding: 0 1rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-base);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;
    min-height: 48px; /* Touch target optimization */
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    display: block;
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: var(--font-xs);
    color: var(--text-secondary);
}

/* Hero Image - Mobile Optimized */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
    margin-top: 1rem;
    width: 100%;
}

.phone-mockup {
    position: relative;
    width: 200px;
    height: 400px;
    background: #1f2937;
    border-radius: 1.5rem;
    padding: 0.5rem;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: floatCard 4s ease-in-out infinite;
    font-size: var(--font-sm);
    white-space: nowrap;
}

.floating-card i {
    color: var(--primary-color);
    font-size: 1rem;
}

.card-1 {
    top: 10%;
    right: -25%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    left: -30%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    right: -20%;
    animation-delay: 2s;
}

/* Tablet optimizations */
@media (min-width: 640px) {
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: var(--font-4xl);
    }
    
    .hero-description {
        font-size: var(--font-lg);
        padding: 0 2rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        max-width: none;
        gap: 1.5rem;
    }
    
    .phone-mockup {
        width: 220px;
        height: 440px;
        border-radius: 2rem;
        padding: 0.75rem;
    }
    
    .floating-card {
        padding: 1rem 1.5rem;
        gap: 0.75rem;
        font-size: var(--font-base);
    }
}

/* Desktop optimizations */
@media (min-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        flex-direction: row;
        text-align: left;
        gap: 3rem;
        align-items: center;
    }
    
    .hero-content {
        flex: 1;
        width: auto;
    }
    
    .hero-image {
        flex: 1;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: var(--font-xl);
        max-width: none;
        padding: 0;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-stats {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Features Section */
.features {
    padding: 60px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(103, 102, 255, 0.1) 0%, rgba(103, 102, 255, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Screenshots Section */
.screenshots {
    padding: 60px 0;
    background: var(--light-color);
}

.screenshots-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.screenshot-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.screenshot-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.screenshot-info {
    padding: 1.25rem;
}

.screenshot-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.screenshot-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 60px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.about-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-feature i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.about-feature span {
    color: var(--text-secondary);
}

.stats-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

.stats-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item .stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Download Section */
.download {
    padding: 60px 0;
    background: var(--light-color);
}

.download-content {
    text-align: center;
}

.download-header {
    margin-bottom: 3rem;
}

.download-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.download-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

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

.download-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.download-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.download-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.download-card .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    font-size: 0.9rem;
}

.download-card .download-btn img {
    height: 35px;
    width: auto;
}

.download-card .download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.85rem;
}

.info-item i {
    color: var(--success-color);
    font-size: 1.1rem;
}

/* WhatsApp support link in download section */
.whatsapp-support-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    font-size: 0.85rem;
}

.whatsapp-support-link:hover {
    color: #25D366;
    transform: translateY(-2px);
}

.whatsapp-support-icon {
    color: #25D366;
    font-size: 1.1rem;
}

@media (min-width: 640px) {
    .whatsapp-support-link {
        flex-direction: row;
        gap: 0.75rem;
    }
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-description {
    color: #9CA3AF;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.social-link {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.85rem;
}

/* WhatsApp Contact Button */
.whatsapp-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.whatsapp-icon {
    font-size: 1.5rem;
    animation: bounce 1s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* WhatsApp footer link styling */
.whatsapp-footer-link {
    color: #25D366 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.whatsapp-footer-link:hover {
    color: #128C7E !important;
    transform: translateX(5px);
}

.whatsapp-footer-icon {
    font-size: 1.1rem;
}

/* WhatsApp emoji fallbacks */
.whatsapp-footer-link span,
.whatsapp-emoji {
    display: none;
    font-size: 1.1rem;
}

/* Show emoji if Font Awesome fails */
.whatsapp-footer-link .fa-whatsapp {
    display: inline-block;
}

.whatsapp-footer-link .fa-whatsapp:empty + span {
    display: inline;
}

/* Hide Font Awesome and show emoji if needed */
@supports not (font-family: "Font Awesome 6 Brands") {
    .fa-whatsapp {
        display: none !important;
    }
    
    .whatsapp-footer-link span,
    .whatsapp-emoji {
        display: inline !important;
    }
}

/* WhatsApp SVG icon */
.whatsapp-svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
    animation: bounce 1s infinite;
}

/* Ensure proper icon display */
.whatsapp-icon, .whatsapp-svg {
    flex-shrink: 0;
}

/* Pulse animation for attention */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Bounce animation for WhatsApp icon */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

/* Responsive Design */
@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .download-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-info {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .info-item {
        flex-direction: row;
        gap: 0.75rem;
    }
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex !important;
    }
    
    .hamburger {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        text-align: left;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-stats {
        justify-content: flex-start;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshots-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .screenshots-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .download-options {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .screenshots {
        padding: 80px 0;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .download {
        padding: 80px 0;
    }
}

/* Logo hover effects and responsive sizing */
.nav-logo {
    transition: var(--transition);
}

.nav-logo:hover .logo-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: var(--shadow-md);
}

.logo-icon {
    transition: var(--transition);
}

.logo-image {
    transition: var(--transition);
}

/* Mobile logo sizing */
@media (max-width: 480px) {
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
}

/* Large screen logo sizing */
@media (min-width: 1024px) {
    .logo-icon {
        width: 45px;
        height: 45px;
    }
}

/* Footer logo styling */
.footer .logo-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer .logo-text {
    color: white;
}

/* About section logo */
.about-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-logo-image:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: var(--shadow-xl);
}

/* Smooth scrolling improvements */
.nav-link[href^="#"] {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.social-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .download,
    .footer {
        display: none;
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideInUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.close-modal {
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.25rem;
    line-height: 1;
}

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

.modal-body {
    padding: 0 1.5rem 1.5rem;
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
    background: white;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(103, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input[type="email"]:invalid {
    border-color: var(--error-color);
}

.form-group input[type="tel"] {
    font-family: monospace;
}

/* Wishlist button styles */
.wishlist-btn {
    background: var(--gradient-secondary) !important;
    color: white !important;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.wishlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #BE185D 0%, #9D174D 100%) !important;
}

.wishlist-btn i {
    color: white;
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive for modal */
@media (max-width: 640px) {
    .modal-content {
        margin: 1rem;
        max-width: none;
    }
    
    .modal-header {
        padding: 1rem 1rem 0;
    }
    
    .modal-body {
        padding: 0 1rem 1rem;
    }
}

/* Success state for form */
.form-success {
    background: var(--success-color);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 1rem;
    animation: slideInUp 0.3s ease-out;
}

/* Error state for form */
.form-error {
    background: var(--error-color);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 1rem;
    animation: slideInUp 0.3s ease-out;
}

/* Form validation styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error-color);
}

.form-group .error-message {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Loading state for submit button */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Success Page Styles */
.success-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    min-height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    border-radius: var(--border-radius-lg);
}

.success-icon {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.ghost-icon {
    position: relative;
    display: inline-block;
}

.ghost-body {
    width: 80px;
    height: 100px;
    background: white;
    border-radius: 40px 40px 0 0;
    position: relative;
    margin-bottom: -10px;
}

.ghost-eyes {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.ghost-eye {
    width: 8px;
    height: 12px;
    background: #000;
    border-radius: 50%;
    animation: blink 3s infinite;
}

.ghost-tail {
    display: flex;
    justify-content: space-between;
    width: 80px;
}

.tail-wave {
    width: 20px;
    height: 15px;
    background: white;
    border-radius: 0 0 50% 50%;
    animation: wave 2s ease-in-out infinite;
}

.tail-wave:nth-child(2) {
    animation-delay: 0.2s;
}

.tail-wave:nth-child(3) {
    animation-delay: 0.4s;
}

.success-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.success-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-content .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.success-content .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Animations for success page */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes blink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

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

/* Mobile responsive for success page */
@media (max-width: 640px) {
    .success-page {
        padding: 2rem 1rem;
        min-height: 350px;
    }
    
    .ghost-body {
        width: 60px;
        height: 75px;
        border-radius: 30px 30px 0 0;
    }
    
    .ghost-eyes {
        top: 20px;
        gap: 10px;
    }
    
    .ghost-eye {
        width: 6px;
        height: 8px;
    }
    
    .tail-wave {
        width: 15px;
        height: 12px;
    }
    
    .success-content h2 {
        font-size: 1.5rem;
    }
    
    .success-content p {
        font-size: 1rem;
    }
}
