/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d73502;        /* India Post Red */
    --primary-dark: #b12a02;         /* Dark Red */
    --primary-light: #ff4d1a;        /* Light Red */
    --secondary-color: #ff8c00;      /* India Post Orange */
    --accent-color: #228B22;         /* Government Green */
    --success-color: #228B22;        /* Forest Green */
    --warning-color: #ff8c00;        /* Orange */
    --text-primary: #2c3e50;         /* Dark Blue Gray */
    --text-secondary: #555555;       /* Medium Gray */
    --text-light: #777777;           /* Light Gray */
    --white: #ffffff;
    --cream: #fff8f0;                /* Cream background */
    --shadow-light: 0 4px 15px rgba(215, 53, 2, 0.15);
    --shadow-medium: 0 8px 30px rgba(215, 53, 2, 0.20);
    --shadow-heavy: 0 15px 50px rgba(215, 53, 2, 0.25);
    --border-radius: 20px;
    --border-radius-small: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 248, 240, 0.25);
    --glass-border: rgba(215, 53, 2, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(135deg, #fff8f0 0%, #ffe5d1 50%, #ffd4b3 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(215, 53, 2, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(34, 139, 34, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(215, 53, 2, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(215, 53, 2, 0.15);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1001;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(215, 53, 2, 0.2);
}

.logo span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(215, 53, 2, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(215, 53, 2, 0.1), transparent);
    transition: all 0.4s ease;
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a:hover {
    background: linear-gradient(135deg, rgba(215, 53, 2, 0.1), rgba(255, 140, 0, 0.1));
    border-color: rgba(215, 53, 2, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(215, 53, 2, 0.15);
    color: var(--primary-color);
}

.nav-links a:active {
    transform: translateY(0);
}

/* Main Content */
.main-content {
    margin-top: 90px;
    min-height: calc(100vh - 90px);
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

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

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(215, 53, 2, 0.3);
    position: relative;
    z-index: 2;
}

.hero .tagline {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.hero .description {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.app-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 3rem;
    background: var(--white);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    box-shadow: 
        var(--shadow-heavy),
        0 0 50px rgba(215, 53, 2, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 3px solid var(--primary-color);
}

.app-logo img {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    object-fit: contain;
}

.app-logo:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 25px 60px rgba(215, 53, 2, 0.4),
        0 0 70px rgba(215, 53, 2, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.app-logo::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-light));
    border-radius: 38px;
    z-index: -1;
    animation: rotate 3s linear infinite;
    opacity: 0.8;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.hero-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.hero-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

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

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.hero-btn.primary:hover {
    box-shadow: 0 15px 40px rgba(215, 53, 2, 0.4);
}

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

/* Features Section */
.features {
    padding: 8rem 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 248, 240, 0.5);
    border-radius: 50px 50px 0 0;
}

.features .container {
    position: relative;
    z-index: 2;
}

.features h2 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-color);
    margin-bottom: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid rgba(215, 53, 2, 0.1);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(215, 53, 2, 0.05), transparent);
    transition: var(--transition);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: var(--shadow-medium);
    position: relative;
    transition: var(--transition);
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-icon::after {
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

/* Download Section */
.download-section {
    text-align: center;
    padding: 8rem 0;
    position: relative;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    margin: 4rem 0;
    box-shadow: var(--shadow-heavy);
}

.download-section::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-light));
    border-radius: 53px;
    z-index: -1;
    opacity: 0.3;
    animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.download-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.download-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(215, 53, 2, 0.4),
        0 0 50px rgba(215, 53, 2, 0.3);
}

.download-btn::after {
    content: "📱";
    margin-right: 12px;
    font-size: 1.8rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.download-meta {
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-card {
    background: var(--white);
    border: 1px solid rgba(215, 53, 2, 0.2);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

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

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.8;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
    text-decoration: underline;
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Privacy Policy Page Specific */
.privacy-content {
    max-width: 900px;
    margin: 4rem auto;
    background: var(--white);
    border: 1px solid rgba(215, 53, 2, 0.1);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    color: var(--text-primary);
}

.privacy-content h1 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 3rem;
    font-weight: 700;
}

.privacy-content h2 {
    color: var(--primary-color);
    margin: 3rem 0 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.privacy-content h3 {
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.privacy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.privacy-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: var(--cream);
    border: 1px solid rgba(215, 53, 2, 0.2);
}

.back-link:hover {
    color: var(--white);
    background: var(--primary-color);
    transform: translateX(-5px);
    box-shadow: var(--shadow-light);
}

.back-link::before {
    content: "← ";
    margin-right: 8px;
    font-size: 1.2rem;
}

.contact-box {
    background: var(--cream);
    border: 1px solid rgba(215, 53, 2, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius-small);
    margin: 2rem 0;
}

.contact-box p {
    margin-bottom: 1rem;
}

.contact-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 6rem 2rem 2rem;
        gap: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        border-left: 1px solid rgba(215, 53, 2, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        font-size: 1rem;
        border: 1px solid transparent;
        display: block;
    }
    
    .nav-links a:hover {
        background: linear-gradient(135deg, rgba(215, 53, 2, 0.1), rgba(255, 140, 0, 0.05));
        border-color: rgba(215, 53, 2, 0.2);
        transform: translateX(5px);
        box-shadow: 0 4px 20px rgba(215, 53, 2, 0.1);
    }
    
    /* Overlay for mobile menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero {
        padding: 4rem 0 6rem;
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2.5rem 2rem;
    }
    
    .privacy-content {
        margin: 2rem 1rem;
        padding: 2.5rem 2rem;
    }
    
    .app-logo {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .download-section {
        padding: 6rem 0;
        margin: 2rem 0;
        border-radius: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        width: 100%;
        right: -100%;
        padding: 5rem 1.5rem 2rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features h2 {
        font-size: 2.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .privacy-content {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .download-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Advanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

.scale-in {
    animation: scaleIn 0.8s ease forwards;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(215, 53, 2, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Focus states for accessibility */
.nav-links a:focus,
.download-btn:focus,
.back-link:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #333333;
        --white: #ffffff;
        --primary-color: #0066cc;
    }
}
