/* Custom CSS for Pingkr Clone */

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 0;
}

/* Header Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 1030;
    background-color: white;
}

.logo-circle {
    width: 40px;
    height: 40px;
    /*background-color: #000;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
}

.navbar-nav .nav-link {
    color: #666;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #000;
}

.navbar-nav .nav-link.active {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Section Styles */
.home-section {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background-color: #ffffff;
    margin-top: 50px;
}

.about-section {
    min-height: calc(90vh - 50px);
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 0;
    background-color: #ffffff;
    margin-top: 50px;
}

.hero-content {
    text-align: center;
}

.description-section {
    margin-top: 80px;
}

.footer-section{
    margin-bottom: 30px;
    padding: 10px 0;
}

.about-content {
    text-align: center;
    display: flex;
    flex-direction: column; 
    row-gap: 60vh;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 2rem;
}

.download-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.description-title {
    font-size: 1.8rem;
    font-weight: 300;
    color: #555;
    line-height: 1.4;
    margin-bottom: 0;
}

.content-row {
    width: 100%;
    text-align: center;
}

.contact-info {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.company-info {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.legal-info {
    text-align: center;
}

.legal-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.9);
    color: white;
    padding: 1rem 0;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Responsive Design */

/* Tablet Styles */
@media (max-width: 768px) {
    .home-section {
        margin-top: 15px;
        min-height: calc(90vh - 15px);
    }
    
    .about-section {
        margin-top: 40px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .description-title {
        font-size: 1.5rem;
    }
    
    .download-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .hero-content,
    .about-content {
        padding: 2rem 0;
    }
}

/* Mobile Styles */
@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo-circle {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .brand-text {
        font-size: 1.3rem;
    }
    
    .home-section {
        padding: 2rem 0;
        min-height: calc(90vh - 10px);
        margin-top: 10px;
    }
    
    .about-section {
        padding: 2rem 0;
        min-height: 90vh;
        margin-top: 30px;
    }
    
    .main-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .description-title {
        font-size: 1.3rem;
    }
    
    .download-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-content,
    .about-content {
        padding: 1rem 0;
    }
    
    .contact-info,
    .company-info {
        font-size: 0.9rem;
    }
    
    .legal-text {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 1rem;
    }
    .slash{
        display: none;
    }
    
    .cookie-banner .container {
        padding: 0 1rem;
    }
    
    .cookie-banner .col-md-4 {
        text-align: center;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .description-title {
        font-size: 1.2rem;
    }
    
    .download-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .hero-content,
    .about-content {
        padding: 1rem 0;
    }
    
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

a {
    color: #666;
    text-decoration: none;
}
  /* 如果需要让访问过的链接也保持黑色，可以使用以下伪类 */
  a:visited {
    color: #666;
  }