/* Policy Pages Styles */

.policy-page {
    padding: 120px 0 60px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

/* Unique styles for Privacy Policy */
.privacy-policy-page .policy-content {
    border-top: 4px solid #4285F4;
}

.privacy-policy-page .policy-header h1::before {
    content: '🔒';
}

.privacy-policy-page .policy-section h2 {
    border-bottom-color: #4285F4;
}

.privacy-policy-page .policy-section h2::before {
    background: #4285F4;
}

/* Unique styles for Terms of Service */
.terms-service-page .policy-content {
    border-top: 4px solid #EA4335;
}

.terms-service-page .policy-header h1::before {
    content: '📜';
}

.terms-service-page .policy-section h2 {
    border-bottom-color: #EA4335;
}

.terms-service-page .policy-section h2::before {
    background: #EA4335;
}

/* Unique styles for Terms and Conditions */
.terms-conditions-page .policy-content {
    border-top: 4px solid #FBBC04;
}

.terms-conditions-page .policy-header h1::before {
    content: '📝';
}

.terms-conditions-page .policy-section h2 {
    border-bottom-color: #FBBC04;
}

.terms-conditions-page .policy-section h2::before {
    background: #FBBC04;
}

/* Unique styles for Cookie Policy */
.cookie-policy-page .policy-content {
    border-top: 4px solid #34A853;
}

.cookie-policy-page .policy-header h1::before {
    content: '🍪';
}

.cookie-policy-page .policy-section h2 {
    border-bottom-color: #34A853;
}

.cookie-policy-page .policy-section h2::before {
    background: #34A853;
}

.policy-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.policy-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #4285F4 0%, #EA4335 100%);
    border-radius: 2px;
}

.privacy-policy-page .policy-header::after {
    background: #4285F4;
}

.terms-service-page .policy-header::after {
    background: #EA4335;
}

.terms-conditions-page .policy-header::after {
    background: #FBBC04;
}

.cookie-policy-page .policy-header::after {
    background: #34A853;
}

.policy-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4285F4 0%, #EA4335 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.policy-header h1::before {
    content: '📋';
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.policy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.policy-section:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.policy-section h2 {
    font-size: 1.75rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4285F4;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.policy-section h2::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4285F4;
    border-radius: 50%;
    flex-shrink: 0;
}

.policy-section h3 {
    font-size: 1.25rem;
    color: #2d2d2d;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-section p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.policy-section a {
    color: #4285F4;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-section a:hover {
    text-decoration: underline;
}

.contact-box {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, rgba(234, 67, 53, 0.05) 100%);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 1rem;
    border-left: 4px solid #4285F4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-box p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-box p::before {
    content: '📍';
    font-size: 1.25rem;
}

.contact-box p:first-child::before {
    content: '🏢';
}

.contact-box p:nth-child(2)::before {
    content: '✉️';
}

.contact-box p:nth-child(3)::before {
    content: '📞';
}

.contact-box p:nth-child(4)::before {
    content: '📍';
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.simple-footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
    text-align: center;
}

.simple-footer .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.simple-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.simple-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.simple-footer a:hover {
    color: #4285F4;
}

.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4285F4 0%, #EA4335 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.thank-you-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.thank-you-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.thank-you-content {
    max-width: 600px;
}

.thank-you-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease, pulse 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    }
}

.thank-you-icon svg {
    width: 60px;
    height: 60px;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-content {
    position: relative;
    z-index: 10;
}

.thank-you-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.thank-you-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    line-height: 1.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thank-you-content .btn {
    background: white;
    color: #4285F4;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.thank-you-content .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
    border-color: rgba(255, 255, 255, 0.5);
}

.thank-you-content .mt-4 {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.thank-you-content .mt-5 {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

@media (max-width: 767px) {
    .policy-content {
        padding: 2rem 1.5rem;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .simple-footer .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .thank-you-content h1 {
        font-size: 2rem;
    }
}