/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Banner Styles - PINK */
.terms-banner,
.policy-banner,
.privacy-banner {
    background-image: url("./public/assets/banner.jpg");
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
    height: 100%;
}


.banner-overlay {
    position: relative;
    z-index: 2;
}

.terms-banner::before, .policy-banner::before, .privacy-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.banner-subtitle {
    font-size: 1.2rem;
    text-align: center;
    opacity: 0.9;
}

/* Content Styles */
.terms-content, .policy-content, .privacy-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 60px;
}

/* Section Titles - PINK */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #ff6b6b;
    padding-bottom: 1rem;
}

/* Last Updated - PINK */
.last-updated {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    border-left: 4px solid #ff6b6b;
}

.last-updated p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Sections */
.terms-section, .policy-section, .privacy-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.terms-section:last-of-type, .policy-section:last-of-type, .privacy-section:last-of-type {
    border-bottom: none;
}

/* Section Headers - PINK */
.terms-section h3, .policy-section h3, .privacy-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-section h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    margin-right: 12px;
}

.policy-section h3 i, .privacy-section h3 i {
    color: #ff6b6b;
}

/* Subsections */
.policy-subsection, .privacy-subsection {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid #e9ecef;
}

.policy-subsection h4, .privacy-subsection h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 1rem;
}

/* Text */
.terms-section p, .policy-section p, .privacy-section p {
    color: #555;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.terms-section ul, .policy-section ul, .privacy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.terms-section li, .policy-section li, .privacy-section li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
    position: relative;
}

/* List Bullets - PINK */
.terms-section li::before, .policy-section li::before, .privacy-section li::before {
    content: '•';
    color: #ff6b6b;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.terms-section strong, .policy-section strong, .privacy-section strong {
    color: #2c3e50;
}

/* Grid Layouts - PINK */
.privacy-grid, .rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.usage-item, .right-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #ff6b6b;
    transition: transform 0.3s ease;
}

.usage-item:hover, .right-item:hover {
    transform: translateY(-5px);
}

.usage-item i, .right-item i {
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.usage-item h5, .right-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.usage-item p, .right-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Cookies Grid */
.cookies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.cookie-type {
    background: white;
    border: 1px solid #e9ecef;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.cookie-type h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.cookie-type p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Notice Boxes - PINK */
.notice-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 1rem 0;
    border-left: 4px solid #ff6b6b;
}

.notice-box.info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-left: 4px solid #ff6b6b;
}

.notice-box p {
    margin: 0;
    color: #856404;
}

.notice-box.info p {
    color: #0c5460;
}

/* Contact Box - PINK */
.contact-box {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info p, .response-time p {
    margin-bottom: 0.5rem;
    color: white;
}

.response-time {
    text-align: right;
}

/* Agreement Section - PINK */
.agreement-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 3rem;
}

.agreement-section p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Footer Styles - PINK */
.terms-footer, .policy-footer, .privacy-footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2.2rem;
    }
    
    .content-wrapper {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .terms-section h3, .policy-section h3, .privacy-section h3 {
        font-size: 1.3rem;
    }
    
    .privacy-grid, .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .cookies-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .response-time {
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .terms-banner, .policy-banner, .privacy-banner {
        padding: 60px 0;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .content-wrapper {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .terms-section, .policy-section, .privacy-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .terms-section h3, .policy-section h3, .privacy-section h3 {
        font-size: 1.2rem;
    }
    
    .policy-subsection, .privacy-subsection {
        padding-left: 1rem;
    }
}