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

:root {
    --primary-color: #8B5CF6;
    --secondary-color: #EC4899;
    --accent-color: #F59E0B;
    --gradient-start: #A78BFA;
    --gradient-end: #F472B6;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --background: #FFFFFF;
    --background-alt: #FAFBFC;
    --background-gradient: linear-gradient(135deg, #F5F3FF 0%, #FDF4FF 50%, #FEF3C7 100%);
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --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);
    --glow-primary: 0 0 20px rgba(139, 92, 246, 0.5);
    --glow-secondary: 0 0 20px rgba(236, 72, 153, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    overflow-x: hidden;
}

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

/* Modern Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color) 25%, 
        var(--secondary-color) 50%, 
        var(--primary-color) 75%, 
        transparent
    );
    opacity: 0.5;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Modern Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: var(--background-gradient);
    position: relative;
    overflow: hidden;
}

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

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -30%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 60%);
    animation: float 15s ease-in-out infinite reverse;
    filter: blur(40px);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.3));
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3)); }
    to { filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.5)); }
}

.tagline {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

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

.download-badge {
    margin-top: 2rem;
    transform: scale(1);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.download-badge::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(20px);
    z-index: -1;
}

.download-badge:hover {
    transform: scale(1.05) translateY(-2px);
}

.download-badge:hover::before {
    opacity: 0.5;
}

/* Modern Features Section */
.features {
    padding: 5rem 0;
    background: var(--background-alt);
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 1);
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px currentColor);
    transition: filter 0.3s ease;
}

.feature-card:hover .feature-icon {
    filter: drop-shadow(0 0 20px currentColor);
    animation: spin 0.6s ease-out;
}

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

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

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) .feature-icon {
    animation-delay: 0.4s;
}

.feature-card:nth-child(4) .feature-icon {
    animation-delay: 0.6s;
}

.feature-card:nth-child(5) .feature-icon {
    animation-delay: 0.8s;
}

.feature-card:nth-child(6) .feature-icon {
    animation-delay: 1s;
}

.feature-card:nth-child(7) .feature-icon {
    animation-delay: 1.2s;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Modern How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--background-alt) 0%, var(--background) 100%);
}

/* Privacy Section */
.privacy-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F0FFF4 0%, #E8F5E9 50%, #F3E5F5 100%);
    position: relative;
    overflow: hidden;
}

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

.privacy-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #2E7D32;
}

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

.privacy-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.privacy-card:hover {
    transform: translateY(-5px);
    border-color: #4CAF50;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.25);
}

.privacy-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.privacy-card h3 {
    font-size: 1.5rem;
    color: #2E7D32;
    margin-bottom: 1rem;
    font-weight: 700;
}

.privacy-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.privacy-card strong {
    color: #2E7D32;
    font-weight: 600;
}

.privacy-section .privacy-note {
    text-align: center;
    margin-top: 2rem;
}

.privacy-section .privacy-note a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.privacy-section .privacy-note a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transition: width 0.3s ease;
}

.privacy-section .privacy-note a:hover {
    color: #4CAF50;
}

.privacy-section .privacy-note a:hover::after {
    width: 100%;
}

.how-it-works h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--border-color) 10%, 
        var(--border-color) 90%, 
        transparent 100%
    );
    z-index: 0;
}

.step {
    flex: 1;
    min-width: 220px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.2;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    animation: rotate 3s linear infinite;
    transition: opacity 0.3s ease;
}

.step:hover .step-number::before {
    opacity: 0.6;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.step h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Modern CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Modern Footer */
.footer {
    background: linear-gradient(180deg, var(--text-primary) 0%, #0F172A 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 0;
}

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

.footer-section h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

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

/* Page Content Styles */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.page-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.page-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.page-content ul, .page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

.page-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: var(--background-alt);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    .description {
        font-size: 1.1rem;
    }
    
    .features h2, .how-it-works h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        margin-bottom: 2rem;
    }
    
    .feature-grid {
        gap: 1.5rem;
    }
    
    .page-content h1 {
        font-size: 2rem;
    }
}

/* Mobile Menu Button (for future implementation) */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .mobile-menu-button {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1, .hero .tagline, .hero .description, .hero .download-badge {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero .tagline {
    animation-delay: 0.2s;
}

.hero .description {
    animation-delay: 0.4s;
}

.hero .download-badge {
    animation-delay: 0.6s;
}

/* Privacy Page Specific Styles */
.privacy-highlight {
    background: linear-gradient(135deg, #E8F5E9 0%, #F3E5F5 100%);
    border: 2px solid #4CAF50;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.privacy-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A, #4CAF50);
    animation: shimmer 3s ease-in-out infinite;
}

.privacy-highlight h4 {
    color: #2E7D32;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.privacy-highlight ul {
    list-style: none;
    padding-left: 0;
}

.privacy-highlight li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.privacy-highlight li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #4CAF50;
}

.privacy-note {
    font-size: 0.9rem;
    color: #616161;
    margin-top: 1rem;
    font-style: italic;
}

.security-feature {
    background: linear-gradient(135deg, #E3F2FD 0%, #F3E5F5 100%);
    border: 2px solid #2196F3;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.security-feature h3 {
    color: #1565C0;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.security-feature ol {
    padding-left: 1.5rem;
}

.security-feature li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.highlight-text {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.1rem;
}

.privacy-assurance {
    background: #F5F5F5;
    border-left: 4px solid #4CAF50;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: var(--shadow-xl);
}

/* Scroll Animation Classes */
[data-scroll] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll="fade-up"] {
    transform: translateY(40px);
}

[data-scroll="fade-left"] {
    transform: translateX(40px);
}

[data-scroll="fade-right"] {
    transform: translateX(-40px);
}

[data-scroll="zoom-in"] {
    transform: scale(0.8);
}

[data-scroll="zoom-in"].is-visible {
    transform: scale(1);
}

/* Particle Background Effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float 20s infinite linear;
}

.particle:nth-child(even) {
    background: var(--secondary-color);
    animation-duration: 25s;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) translateX(100px);
        opacity: 0;
    }
}