/* ============================================
   COOKIE POLICY PAGE STYLES
   OWANLY - Glassmorphism Design System
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.cookies-hero {
    background: transparent;
    padding: 12rem 2rem 3rem;
    text-align: center;
    position: relative;
}

.cookies-hero-content {
    max-width: 640px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 3rem 2.5rem 2.5rem;
}

.cookies-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.cookies-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 40%, var(--lime) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cookies-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--lime), transparent);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.cookies-updated {
    color: var(--white-60);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.cookies-tagline {
    color: var(--white-80);
    font-size: 1rem;
    font-weight: 500;
}

/* ============================================
   COOKIE CONTENT
   ============================================ */
.cookies-content {
    padding: 3rem 2rem 5rem;
    background: transparent;
}

.cookies-container {
    max-width: 820px;
    margin: 0 auto;
}

/* ============================================
   COOKIE SECTIONS
   ============================================ */
.cookies-section {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
    margin-bottom: 1.25rem;
    transition: border-color 0.2s, background 0.2s;
}

.cookies-section:hover {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(168, 255, 107, 0.25);
}

.cookies-section h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.section-number {
    color: var(--lime);
    font-weight: 800;
}

.cookies-section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white-90);
    margin: 1.5rem 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookies-section h3 i {
    color: var(--lime);
}

.cookies-section h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--white-75);
    margin: 1rem 0 0.5rem;
}

.cookies-section p {
    color: var(--white-70);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.cookies-section p:last-child {
    margin-bottom: 0;
}

/* ============================================
   COOKIE LISTS
   ============================================ */
.cookies-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.cookies-list li {
    padding: 0.5rem 0;
    color: var(--white-70);
    line-height: 1.55;
}

/* Bullet list */
.cookies-list-bullet li {
    padding-left: 1.4rem;
    position: relative;
}

.cookies-list-bullet li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 5px;
    height: 5px;
    background: var(--lime);
    border-radius: 50%;
    opacity: 0.7;
}

/* Check list */
.cookies-list-check li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.cookies-list-check li i {
    color: var(--lime);
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ============================================
   COOKIE TYPE CARDS
   ============================================ */
.cookie-type-card {
    border-radius: 1.2rem;
    margin: 1.5rem 0;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s;
}

.cookie-type-card:hover {
    border-color: rgba(168, 255, 107, 0.2);
}

.cookie-type-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid var(--glass-border);
}

.cookie-type-icon {
    font-size: 1.8rem;
}

.cookie-type-header h3 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    color: var(--white) !important;
}

.cookie-type-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.badge-required {
    background: rgba(168, 255, 107, 0.15);
    color: var(--lime);
    border: 1px solid rgba(168, 255, 107, 0.3);
}

.badge-preferences {
    background: rgba(20, 184, 166, 0.15);
    color: #2dd4bf;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.badge-analytics {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-none {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white-50);
    border: 1px solid var(--glass-border);
}

.cookie-type-body {
    padding: 1.25rem 1.5rem;
}

.cookie-type-body p {
    margin-bottom: 1rem;
    color: var(--white-70);
}

.cookie-type-body ul {
    list-style: none;
    margin: 0.5rem 0 1rem;
    padding: 0;
}

.cookie-type-body ul li {
    padding: 0.25rem 0 0.25rem 1.2rem;
    position: relative;
    color: var(--white-65);
    font-size: 0.9rem;
}

.cookie-type-body ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--lime);
    opacity: 0.6;
}

.cookie-type-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 1rem;
}

.cookie-type-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.83rem;
    color: var(--white-50);
}

.cookie-type-meta i {
    color: var(--white-35);
    font-size: 0.95rem;
}

/* Card accent colors */
.cookie-essential {
    border-color: rgba(168, 255, 107, 0.2);
}

.cookie-essential .cookie-type-header {
    background: rgba(168, 255, 107, 0.04);
}

.cookie-functional {
    border-color: rgba(20, 184, 166, 0.2);
}

.cookie-functional .cookie-type-header {
    background: rgba(20, 184, 166, 0.04);
}

.cookie-analytics {
    border-color: rgba(139, 92, 246, 0.2);
}

.cookie-analytics .cookie-type-header {
    background: rgba(139, 92, 246, 0.04);
}

.cookie-marketing {
    border-color: rgba(255, 255, 255, 0.08);
}

.no-marketing-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 107, 107, 0.06);
    border: 1px solid rgba(255, 107, 107, 0.15);
    border-radius: 0.8rem;
    padding: 1rem;
}

.no-marketing-notice i {
    color: #ff8080;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.no-marketing-notice p {
    margin: 0;
}

.future-note {
    font-style: italic;
    font-size: 0.88rem;
    color: var(--white-45) !important;
}

/* ============================================
   COOKIES TABLE
   ============================================ */
.cookies-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.cookies-table th,
.cookies-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cookies-table tr:last-child td {
    border-bottom: none;
}

.cookies-table th {
    background: rgba(168, 255, 107, 0.06);
    font-weight: 600;
    color: var(--white-80);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cookies-table td {
    color: var(--white-65);
}

.cookies-table code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.45rem;
    border-radius: 0.35rem;
    font-size: 0.8rem;
    color: var(--lime);
    font-family: 'Fira Code', monospace;
}

.table-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ============================================
   THIRD PARTY GRID
   ============================================ */
.third-party-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.third-party-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 1.1rem;
    padding: 1.25rem;
    transition: border-color 0.2s, background 0.2s;
}

.third-party-card:hover {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(168, 255, 107, 0.2);
}

.third-party-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.third-party-icon {
    font-size: 1.5rem;
}

.third-party-header h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--white-90);
}

.third-party-card p {
    font-size: 0.88rem;
    color: var(--white-60);
    margin-bottom: 0.75rem;
}

.third-party-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--lime);
    font-size: 0.83rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.third-party-card a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.third-party-note {
    font-style: italic;
    font-size: 0.88rem;
    color: var(--white-50);
}

/* ============================================
   MANAGE OPTIONS
   ============================================ */
.manage-option {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 1.1rem;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
}

.manage-option h3 {
    margin-top: 0;
}

.browser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.browser-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.browser-name {
    display: block;
    font-weight: 600;
    color: var(--white-85);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.browser-path {
    font-size: 0.78rem;
    color: var(--white-50);
}

.manage-option a {
    color: var(--lime);
    word-break: break-all;
    transition: opacity 0.2s;
}

.manage-option a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ============================================
   IMPACT TABLE
   ============================================ */
.impact-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
}

.impact-table {
    width: 100%;
    border-collapse: collapse;
}

.impact-table th,
.impact-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.07);
    vertical-align: top;
}

.impact-table th {
    background: rgba(168, 255, 107, 0.05);
    font-weight: 600;
    color: var(--white-80);
    font-size: 0.85rem;
}

.impact-table td {
    color: var(--white-65);
    font-size: 0.9rem;
}

.impact-table td strong {
    color: var(--white-85);
}

.impact-table ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.impact-table ul li {
    padding: 0.2rem 0 0.2rem 1.1rem;
    position: relative;
    font-size: 0.88rem;
}

.impact-table ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--lime);
    opacity: 0.5;
}

.impact-essential td:first-child {
    border-left: 3px solid rgba(168, 255, 107, 0.5);
}

.impact-functional td:first-child {
    border-left: 3px solid rgba(20, 184, 166, 0.5);
}

.impact-analytics td:first-child {
    border-left: 3px solid rgba(139, 92, 246, 0.5);
}

/* ============================================
   STORAGE GRID
   ============================================ */
.storage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.storage-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 1.1rem;
    padding: 1.25rem;
    transition: border-color 0.2s;
}

.storage-card:hover {
    border-color: rgba(168, 255, 107, 0.2);
}

.storage-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.storage-header i {
    font-size: 1.4rem;
    color: var(--lime);
}

.storage-header h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--white-90);
}

.storage-card p {
    font-size: 0.88rem;
    color: var(--white-60);
    margin: 0;
}

.storage-note {
    font-style: italic;
    font-size: 0.88rem;
    color: var(--white-50);
}

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 1.1rem;
    padding: 1rem 1.25rem;
    flex: 1;
    min-width: 200px;
    transition: border-color 0.2s;
}

.contact-item:hover {
    border-color: rgba(168, 255, 107, 0.25);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--lime);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.73rem;
    color: var(--white-40);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.15rem;
}

.contact-item a,
.contact-item span {
    color: var(--white-80);
    font-weight: 500;
    font-size: 0.92rem;
}

.contact-item a {
    color: var(--lime);
}

.contact-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.address-block {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
}

.address-block p {
    color: var(--white-60);
    margin-bottom: 0.5rem;
}

.address-block address {
    font-style: normal;
    color: var(--white-70);
    line-height: 1.65;
}

/* ============================================
   CLOSING STATEMENT
   ============================================ */
.cookies-closing {
    background: rgba(168, 255, 107, 0.04);
    border: 1px solid rgba(168, 255, 107, 0.15);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    text-align: center;
    margin-top: 2rem;
}

.cookies-closing blockquote {
    border: none;
    padding: 0;
    margin: 0;
    color: var(--white);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
}

.cookies-closing blockquote cite {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--lime);
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.pages-glass .footer {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border-top: 1px solid var(--glass-border);
}

/* Cookies page uses the old footer structure, restyle it */
.pages-glass .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pages-glass .footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 4rem 0 3rem;
}

.pages-glass .footer-brand {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
}

.pages-glass .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
}

.pages-glass .footer-tagline {
    color: var(--white-50);
    font-size: 0.88rem;
    margin: 0.6rem 0 1.25rem;
}

.pages-glass .footer-social {
    display: flex;
    gap: 0.6rem;
}

.pages-glass .footer-social .social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-60);
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.pages-glass .footer-social .social-link:hover {
    background: rgba(168, 255, 107, 0.15);
    border-color: rgba(168, 255, 107, 0.4);
    color: var(--lime);
}

.pages-glass .footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.pages-glass .footer-column {
    flex: 1;
    min-width: 120px;
}

.pages-glass .footer-heading {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white-40);
    margin-bottom: 1rem;
}

.pages-glass .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pages-glass .footer-list a {
    color: var(--white-60);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.pages-glass .footer-list a:hover {
    color: var(--lime);
}

.pages-glass .footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.pages-glass .footer-copyright {
    color: var(--white-40);
    font-size: 0.83rem;
}

.pages-glass .footer-legal {
    display: flex;
    gap: 1.5rem;
}

.pages-glass .footer-legal a {
    color: var(--white-40);
    text-decoration: none;
    font-size: 0.83rem;
    transition: color 0.2s;
}

.pages-glass .footer-legal a:hover {
    color: var(--lime);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 768px) {
    .cookies-hero {
        padding: 8rem 1.25rem 2rem;
    }

    .cookies-hero-content {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }

    .cookies-icon {
        font-size: 2.75rem;
    }

    .cookies-content {
        padding: 2rem 1.25rem 4rem;
    }

    .cookies-section {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }

    .cookies-section h2 {
        font-size: 1.15rem;
    }

    .cookie-type-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cookie-type-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .third-party-grid,
    .storage-grid {
        grid-template-columns: 1fr;
    }

    .browser-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
    }

    .cookies-closing {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }

    .pages-glass .footer-top {
        padding: 3rem 0 2rem;
        gap: 2rem;
    }

    .pages-glass .footer-brand {
        max-width: 100%;
    }

    .pages-glass .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cookies-hero-title {
        font-size: 2rem;
    }

    .cookies-section {
        padding: 1.25rem;
    }

    .cookies-table {
        font-size: 0.78rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 0.5rem 0.65rem;
    }

    .impact-table th,
    .impact-table td {
        padding: 0.75rem;
    }

    .pages-glass .footer-links {
        gap: 1.5rem;
    }

    .pages-glass .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
}
