* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow-x: hidden;
}

.language-selector { 
    position: fixed; 
    top: 10px; 
    right: 10px; 
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    padding: 10px;
    border-radius: 5px;
}

.language-selector select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 100px; /* Added padding to prevent overlap with fixed nav */
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2); /* Added semi-transparent background */
    backdrop-filter: blur(10px);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Header */
header {
    padding: 4rem 0; /* Increased padding for better spacing */
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.logo-icon {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 4px;
}

.bar {
    background: white;
    border-radius: 2px;
}

.bar:nth-child(1) { width: 8px; height: 15px; }
.bar:nth-child(2) { width: 8px; height: 25px; }
.bar:nth-child(3) { width: 8px; height: 35px; }

.arrow {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: white;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.logo h1 {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    position: relative;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-out var(--delay) both;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.feature-card p {
    line-height: 1.6;
    opacity: 0.9;
}

/* App Demo Section */
.app-demo {
    background: rgba(255, 255, 255, 0.05);
    padding: 4rem 0;
    text-align: center;
    margin: 4rem 0;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-demo h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #00d4ff;
}

.demo-placeholder {
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin: 2 0;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.demo-placeholder .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* Notification Section */
.notification-section {
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 0;
    flex-wrap: wrap;
}

.notification-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    color: #333;
    font-size: 1rem;
    min-width: 250px;
}

.notification-form button {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.notification-form button:hover:not(:disabled) {
    transform: scale(1.05);
}

.notification-form button:disabled {
    background: rgba(255,255,255,0.3);
    cursor: not-allowed;
    transform: none;
}

.cooldown-info {
    margin-top: 1rem;
    color: #ff6b6b;
    font-size: 0.9rem;
}

/* Honeypot */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Privacy Link */
.privacy-link {
    margin-top: 1rem;
    font-size: 0.8rem;
}

.privacy-link a {
    color: #00d4ff;
    text-decoration: none;
}

.privacy-link a:hover {
    text-decoration: underline;
}

/* About Section */
.about-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 4rem;
    border-radius: 20px;
    margin: 3rem 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.about-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #00d4ff;
    text-align: center;
}

.about-section p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Contact */
.contact {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 4rem;
}

.contact a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: bold;
}

.contact a:hover {
    text-decoration: underline;
}

/* Privacy Page */
.privacy-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-content h2 {
    color: #00d4ff;
    margin-bottom: 2rem;
    text-align: center;
}

.privacy-content h3 {
    color: #00d4ff;
    margin: 2rem 0 1rem 0;
}

.privacy-content p, .privacy-content li {
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.privacy-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-content a {
    color: #00d4ff;
    word-break: break-all;
}

/* Feedback Page */
.feedback-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feedback-form input, .feedback-form textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    color: #333;
    font-size: 1rem;
    margin-bottom: 1rem;
    resize: vertical;
}

.feedback-form textarea {
    min-height: 120px;
}

.feedback-form button {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.feedback-form button:hover {
    transform: scale(1.05);
}

.feedback-list {
    margin-top: 3rem;
}

.feedback-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.feedback-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.feedback-date {
    font-size: 0.8rem;
    opacity: 0.7;
}

.feedback-username {
    font-size: 0.9rem;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.feedback-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.feedback-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.vote-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.vote-btn.voted {
    background: rgba(0, 212, 255, 0.3);
    border-color: #00d4ff;
}

.comment-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.comments-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
}

.comments-section.active {
    display: block;
}

.comment-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.comment-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    color: #333;
}

.comment-form button {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.comment {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-text {
    margin-bottom: 0.5rem;
}

.comment-date {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Photo Gallery */
.photo-gallery {
    margin-top: 3rem;
    text-align: center;
}

.gallery-container {
    position: relative;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-item {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.gallery-item img {
    width: 100%;
    height: auto;
    max-width: 350px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item p {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
    padding: 0 1rem;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
    padding-bottom: 1rem;
}

.indicator {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #00d4ff;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.filter-btn.active {
    background: rgba(0, 212, 255, 0.3);
    border-color: #00d4ff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Particles Background */
.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: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: particleFloat 6s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Loading Message */
.loading-message {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .logo h1 { font-size: 2rem; }
    .hero h2 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .features { grid-template-columns: 1fr; }
    .notification-form { flex-direction: column; }
    .notification-form input { min-width: auto; }
    
    .main-nav {
        justify-content: center;
        flex-wrap: wrap;
        padding: 10px;
    }
    
    .feedback-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .feedback-actions {
        justify-content: flex-start;
    }

    .gallery-container {
        max-width: 100%;
    }

    .gallery-item img {
        max-width: 100%;
    }

    .gallery-nav {
        font-size: 1.2rem;
        padding: 0.4rem 0.8rem;
    }
}

.report-btn {
    background: none;
    border: 1px solid #ff5555;
    color: #ff5555;
    padding: 8px 12px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.report-btn:hover {
    background: #ff5555;
    color: white;
}

.report-section {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
}

.report-section.active {
    display: block;
}

.report-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.report-form select, .report-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.report-form textarea {
    resize: vertical;
    min-height: 80px;
}

.report-buttons {
    display: flex;
    gap: 10px;
}

.report-buttons button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.report-buttons button:first-child {
    background: #ff5555;
    color: white;
}

.report-buttons button:last-child {
    background: #6b7280;
    color: white;
}

.report-buttons button:hover {
    opacity: 0.9;
}