/* ==========================================
   Navigation Bar
   ========================================== */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-logo {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-logo:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

/* ==========================================
   Page Content
   ========================================== */
.page-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.page-content h1 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* ==========================================
   Policy Sections (Privacy & Terms)
   ========================================== */
.policy-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h2 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.policy-section p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.policy-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.policy-section li {
    color: #555;
    line-height: 1.7;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.policy-section li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #667eea;
    font-weight: bold;
}

/* ==========================================
   About Page
   ========================================== */
.about-hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero-text {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.about-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Tech List */
.tech-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tech-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.tech-item strong {
    color: #333;
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
}

.tech-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Privacy Highlight */
.privacy-highlight {
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #667eea;
}

.privacy-highlight p {
    margin: 0;
    text-align: center;
}

.privacy-highlight p:first-child {
    margin-bottom: 10px;
}

/* Usage Steps */
.usage-steps {
    list-style: none;
    padding: 0;
    counter-reset: step;
}

.usage-steps li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.usage-steps li:last-child {
    border-bottom: none;
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.usage-steps li div {
    flex: 1;
}

.usage-steps li strong {
    color: #333;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.usage-steps li p {
    color: #666;
    margin: 0;
}

/* Notice List */
.notice-list {
    list-style: none;
    padding: 0;
    background: #fff8e1;
    border-radius: 10px;
    padding: 20px 25px;
}

.notice-list li {
    color: #795548;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.notice-list li::before {
    content: '⚠';
    position: absolute;
    left: 0;
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.contact-info p {
    margin: 8px 0;
    color: #555;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.cta-section .btn {
    display: inline-block;
    text-decoration: none;
}

/* ==========================================
   Footer
   ========================================== */
footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    padding: 20px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-content {
        padding: 25px 20px;
    }

    .page-content h1 {
        font-size: 1.6rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .usage-steps li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
