/* Cookies Policy Page Styles */

.cookies-hero {
    padding: 160px 0 120px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.gradient-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center, rgba(109, 74, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.data-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(109, 74, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.floating-elements {
    position: absolute;
    inset: 0;
}

.floating-cookie {
    position: absolute;
    top: 20%;
    left: 15%;
    width: 40px;
    height: 40px;
    background: rgba(109, 74, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-gear {
    position: absolute;
    top: 30%;
    right: 20%;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(155, 109, 255, 0.2);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.floating-shield {
    position: absolute;
    bottom: 25%;
    right: 35%;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(109, 74, 255, 0.1), rgba(155, 109, 255, 0.1));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(109, 74, 255, 0.1);
    border: 1px solid rgba(109, 74, 255, 0.2);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.effective-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    display: inline-block;
}

/* Content Styles */
.cookies-content {
    padding: 80px 0;
    background: var(--bg-dark);
}

.policy-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.policy-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    line-height: 1.6;
}

.policy-section {
    margin-bottom: 5rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    padding: 0.5rem 1rem;
    background: rgba(109, 74, 255, 0.1);
    border-radius: 100px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

/* Cookie Cards */
.cookies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cookie-card {
    background: rgba(109, 74, 255, 0.03);
    border: 1px solid rgba(109, 74, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cookie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(109, 74, 255, 0.3) 50%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: rgba(109, 74, 255, 0.05);
}

.cookie-card:hover::before {
    opacity: 1;
}

.cookie-icon {
    width: 40px;
    height: 40px;
    background: rgba(109, 74, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.cookie-card:hover .cookie-icon {
    background: rgba(109, 74, 255, 0.2);
    transform: scale(1.1);
}

.cookie-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    transition: all 0.3s ease;
}

.cookie-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cookie-card h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.cookie-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: auto;
    padding-bottom: 1rem;
}

.cookie-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(109, 74, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    width: fit-content;
}

@media (max-width: 768px) {
    .cookies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cookie-card {
        padding: 1.25rem;
    }

    .cookie-icon {
        width: 36px;
        height: 36px;
    }

    .cookie-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(109, 74, 255, 0.05);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.feature-list li:hover {
    transform: translateY(-2px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0 0 0.5rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Browser Controls */
.control-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.control-item {
    background: rgba(109, 74, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
}

.control-item h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.control-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.browser-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.browser-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(109, 74, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.browser-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Contact Card */
.contact-card {
    background: rgba(109, 74, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.contact-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-card .btn-primary {
    text-decoration: none;
}

/* amana Section */
.amana-section {
    padding: 60px 0;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.amana-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.amana-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.powered-by-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.amana-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amana-text {
    background: linear-gradient(135deg, #6D4AFF 0%, #9B6DFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .amana-content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Cookie Table Styles */
.cookie-table {
    width: 100%;
    overflow-x: auto;
    margin: 2rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(109, 74, 255, 0.03);
    border-radius: 16px;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-table th {
    background: rgba(109, 74, 255, 0.1);
    color: var(--text-light);
    font-weight: 600;
}

.cookie-table td {
    color: var(--text-muted);
}

.cookie-table tr:hover td {
    background: rgba(109, 74, 255, 0.05);
}

/* Third Party List Styles */
.third-party-list {
    background: rgba(109, 74, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.third-party-list h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.third-party-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.third-party-list li {
    color: var(--text-muted);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.third-party-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.third-party-list p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Table */
@media (max-width: 768px) {
    .cookie-table {
        margin: 1rem -1.5rem;
        padding: 0 1.5rem;
    }

    .cookie-table table {
        font-size: 0.9rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem;
    }

    .third-party-list {
        padding: 1.5rem;
    }
} 

/* Cookies Types Section */
.cookies-types-section {
    margin: 3rem 0;
}

.cookies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cookie-card {
    background: rgba(109, 74, 255, 0.03);
    border: 1px solid rgba(109, 74, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cookie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(109, 74, 255, 0.3) 50%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: rgba(109, 74, 255, 0.05);
}

.cookie-card:hover::before {
    opacity: 1;
}

.cookie-icon {
    width: 40px;
    height: 40px;
    background: rgba(109, 74, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.cookie-card:hover .cookie-icon {
    background: rgba(109, 74, 255, 0.2);
    transform: scale(1.1);
}

.cookie-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    transition: all 0.3s ease;
}

.cookie-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cookie-card h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.cookie-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: auto;
    padding-bottom: 1rem;
}

.cookie-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(109, 74, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    width: fit-content;
}

@media (max-width: 768px) {
    .cookies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cookie-card {
        padding: 1.25rem;
    }

    .cookie-icon {
        width: 36px;
        height: 36px;
    }

    .cookie-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Legal Basis Section Styles */
.legal-basis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.legal-card {
    background: rgba(109, 74, 255, 0.03);
    border: 1px solid rgba(109, 74, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(109, 74, 255, 0.4) 50%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-card.essential::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(34, 197, 94, 0.4) 50%, 
        transparent 100%
    );
}

.legal-card.optional::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.4) 50%, 
        transparent 100%
    );
}

.legal-card:hover {
    background: rgba(109, 74, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(109, 74, 255, 0.1);
}

.legal-card:hover::before {
    opacity: 1;
}

.legal-icon {
    width: 48px;
    height: 48px;
    background: rgba(109, 74, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.legal-card.essential .legal-icon {
    background: rgba(34, 197, 94, 0.1);
}

.legal-card.optional .legal-icon {
    background: rgba(59, 130, 246, 0.1);
}

.legal-card:hover .legal-icon {
    transform: scale(1.1);
}

.legal-card.essential:hover .legal-icon {
    background: rgba(34, 197, 94, 0.2);
}

.legal-card.optional:hover .legal-icon {
    background: rgba(59, 130, 246, 0.2);
}

.legal-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.legal-card.essential .legal-icon svg {
    stroke: #22c55e;
}

.legal-card.optional .legal-icon svg {
    stroke: #3b82f6;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.legal-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.legal-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(109, 74, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.legal-card.essential .legal-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.legal-card.optional .legal-badge {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

/* Regulations Section */
.regulations-section {
    margin: 2rem 0;
}

.regulations-section h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    text-align: center;
}

.regulations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.regulation-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(109, 74, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.regulation-item:hover {
    background: rgba(109, 74, 255, 0.03);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(109, 74, 255, 0.08);
}

.regulation-icon {
    width: 40px;
    height: 40px;
    background: rgba(109, 74, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.regulation-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.regulation-content h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.regulation-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem 0;
}

.regulation-ref {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    background: rgba(109, 74, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

/* Consent Withdrawal Section */
.consent-withdrawal {
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(109, 74, 255, 0.05) 0%, rgba(155, 109, 255, 0.05) 100%);
    border: 1px solid rgba(109, 74, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
}

.withdrawal-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.withdrawal-icon {
    width: 48px;
    height: 48px;
    background: rgba(109, 74, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.withdrawal-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.withdrawal-text h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.withdrawal-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.withdrawal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.withdrawal-link:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

/* Additional Responsive Styles for Legal Basis */
@media (max-width: 768px) {
    .legal-basis-grid {
        grid-template-columns: 1fr;
    }
    
    .regulations-grid {
        grid-template-columns: 1fr;
    }
    
    .withdrawal-content {
        flex-direction: column;
        text-align: center;
    }
    
    .withdrawal-icon {
        margin-bottom: 1rem;
    }
} 