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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

.download-btn {
    background: #2563eb;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #1d4ed8;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

.btn-primary i, .btn-secondary i {
    margin-right: 0.5rem;
}

/* App Showcase */
.app-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screen {
    width: 320px;
    height: 640px;
    background: #1a1a1a;
    border-radius: 35px;
    padding: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    position: relative;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    padding: 20px;
}

.status-bar {
    height: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: white;
    margin-bottom: 15px;
}

.status-icons {
    display: flex;
    gap: 5px;
}

.app-header {
    text-align: center;
    margin-bottom: 20px;
}

.app-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.app-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.welcome-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    color: #ffd700;
}

.welcome-card h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 5px;
}

.welcome-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: white;
}

.feature-icon.blue { background: #2563eb; }
.feature-icon.green { background: #10b981; }
.feature-icon.orange { background: #f59e0b; }
.feature-icon.purple { background: #8b5cf6; }

.feature-text h5 {
    color: white;
    font-size: 14px;
    margin-bottom: 5px;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-bottom: 10px;
}

.feature-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.feature-btn.blue { border-color: #2563eb; }
.feature-btn.green { border-color: #10b981; }
.feature-btn.orange { border-color: #f59e0b; }
.feature-btn.purple { border-color: #8b5cf6; }

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* App Screenshots Section */
.app-screenshots {
    padding: 80px 0;
    background: #f8fafc;
}

.app-screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

/* Simple image gallery */
.gallery-note {
    text-align: center;
    color: #64748b;
    margin-top: -2rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.gallery-grid img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #111827;
}

.gallery-grid img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

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

.screenshot-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-10px);
}

.screenshot-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.screenshot-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.screenshot-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.screenshot-frame {
    padding: 2rem;
    background: #1a1a1a;
}

.screenshot-content {
    width: 100%;
    max-width: 300px;
    height: 500px;
    background: #2a2a2a;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

/* Duplicate Contacts Screen */
.duplicate-contacts {
    padding: 15px;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.nav-btn {
    color: #2563eb;
    font-size: 14px;
    cursor: pointer;
}

.nav-bar h4 {
    color: white;
    font-size: 18px;
}

.search-bar {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.stats-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
}

.stat-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: white;
}

.stat-icon.red { background: #ef4444; }
.stat-icon.yellow { background: #f59e0b; }

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i.green {
    color: #10b981;
}

.contact-info span {
    color: white;
    font-size: 14px;
}

.phone {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #ef4444;
    padding: 5px 10px;
    border-radius: 15px;
    color: white;
    font-size: 12px;
}

.contact-duplicates {
    margin-bottom: 15px;
}

.duplicate-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.duplicate-item i.blue {
    color: #2563eb;
}

.duplicate-item i.red {
    color: #ef4444;
    margin-left: auto;
    cursor: pointer;
}

.duplicate-item span {
    color: white;
    font-size: 14px;
}

.delete-all-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
}

/* Similar Photos Screen */
.similar-photos {
    padding: 15px;
}

.photo-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.group-header h5 {
    color: white;
    font-size: 16px;
}

.remaining {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.toggle-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.photo-thumbnails {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.photo-thumb {
    position: relative;
    width: 60px;
    height: 60px;
}

.photo-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 8px;
}

.delete-icon {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
}

/* Large Files Screen */
.large-files {
    padding: 15px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tab-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}

.tab-btn.active {
    background: #2563eb;
    color: white;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 10px;
}

.file-thumb {
    position: relative;
    width: 50px;
    height: 50px;
}

.video-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f59e0b, #ef4444);
    border-radius: 8px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
}

.file-info {
    flex: 1;
}

.file-info h5 {
    color: white;
    font-size: 14px;
    margin-bottom: 3px;
}

.file-size, .file-type, .file-date {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.delete-btn {
    background: #ef4444;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Privacy Section */
.privacy {
    padding: 80px 0;
    background: white;
}

.privacy h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.privacy-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.privacy-text p {
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 1.1rem;
}

.privacy-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.privacy-text li {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.privacy-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.privacy-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-icon i {
    font-size: 3rem;
    color: white;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.download-info {
    margin-top: 1.5rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

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

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

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .app-screen {
        width: 280px;
        height: 560px;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .screenshot-content {
        max-width: 250px;
        height: 400px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .screen {
        width: 240px;
        height: 480px;
    }
}
