/* Header and Mobile Menu Styles */
.site-header {
    background: linear-gradient(to right, #292e77, #068de8);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.logo a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0088cc;
    transition: width 0.3s ease;
}

.logo a:hover:after {
    width: 100%;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.logo span {
    color: #0088cc;
    font-weight: 700;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
    display: block;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0088cc;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #0088cc;
}

.nav-links a:hover:after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #0088cc;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background-color: #0088cc;
}

/* Social Icons */
.social-icons a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.social-icons a:hover {
    color: #0088cc;
    transform: translateY(-3px);
}

.social-icons a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0088cc;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.social-icons a:hover:after {
    transform: scaleX(1);
}

.mobile-social {
    display: none;
}

/* Legal Pages Styles */
.legal-main {
    padding-bottom: 60px;
    min-height: calc(100vh - 200px);
    margin-top: 0;
    background-color: #f9f9f9;
}

/* Hero Section */
.legal-hero {
    background: linear-gradient(135deg, #292e77 0%, #068de8 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0,136,204,0.1) 0%, transparent 60%);
    animation: pulse 15s infinite linear;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(5%, 5%);
    }
    100% {
        transform: translate(0, 0);
    }
}

.legal-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(249,249,249,0.03)" points="0,100 100,0 100,100"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.legal-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
    animation: fadeInDown 1s ease-out;
}

.legal-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Legal Navigation */
.legal-nav {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 70px;
    z-index: 90;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-nav li {
    margin: 0;
}

.legal-nav a {
    display: block;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    text-align: center;
}

.legal-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #0088cc;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.legal-nav a:hover,
.legal-nav a.active {
    color: #0088cc;
    background-color: rgba(0,136,204,0.05);
}

.legal-nav a:hover::after,
.legal-nav a.active::after {
    transform: scaleX(1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section-header h1,
.section-header h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #0088cc, #00bcd4);
    border-radius: 2px;
}

.last-updated {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 15px;
    display: inline-block;
}

/* Legal Sections */
.legal-section {
    padding: 80px 0;
    scroll-margin-top: 140px;
    transition: all 0.3s ease;
    position: relative;
}

.legal-section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

/* Info Cards */
.info-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #f0f0f0;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.info-card.primary {
    background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
    color: #fff;
    border-top: none;
}

.info-card.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="0" cy="0" r="50" fill="rgba(255,255,255,0.05)"/></svg>');
    background-position: top left;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.card-header {
    margin-bottom: 25px;
}

.card-header i {
    font-size: 3rem;
    color: #0088cc;
    margin-bottom: 20px;
    text-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.info-card:hover .card-header i {
    transform: scale(1.1);
}

.primary .card-header i {
    color: #fff;
}

.card-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.card-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #0088cc;
    border-radius: 2px;
}

.primary .card-header h2::after {
    background: #fff;
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 60px;
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both;
}

.policy-section:nth-child(2) {
    animation-delay: 0.2s;
}

.policy-section:nth-child(3) {
    animation-delay: 0.4s;
}

.policy-section:nth-child(4) {
    animation-delay: 0.6s;
}

.policy-section h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.policy-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: #0088cc;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Data Types Grid */
.data-types,
.usage-grid,
.security-grid,
.rights-grid,
.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.data-type,
.usage-item,
.security-item,
.right-item,
.terms-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #0088cc;
    z-index: 1;
}

.data-type::before,
.usage-item::before,
.security-item::before,
.right-item::before,
.terms-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,136,204,0.03) 0%, transparent 100%);
    z-index: -1;
}

.data-type:hover,
.usage-item:hover,
.security-item:hover,
.right-item:hover,
.terms-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.data-type i,
.usage-item i,
.security-item i,
.right-item i,
.terms-item i {
    font-size: 2.2rem;
    color: #0088cc;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.data-type:hover i,
.usage-item:hover i,
.security-item:hover i,
.right-item:hover i,
.terms-item:hover i {
    transform: scale(1.1);
    color: #005580;
}

.data-type h4,
.usage-item h4,
.security-item h4,
.right-item h4,
.terms-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.data-type h4::after,
.usage-item h4::after,
.security-item h4::after,
.right-item h4::after,
.terms-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #0088cc;
}

.data-type p,
.usage-item p,
.security-item p,
.right-item p,
.terms-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.data-type ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.data-type li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #666;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.data-type li:hover {
    color: #333;
    transform: translateX(5px);
}

.data-type li i {
    font-size: 1rem;
    margin-right: 10px;
    margin-bottom: 0;
    color: #4CAF50;
}

/* Usage List */
.usage-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.usage-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    padding: 10px 15px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.usage-list li:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.usage-list i {
    color: #e74c3c;
    margin-right: 15px;
    font-size: 1rem;
}

/* Cookie Types */
.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.cookie-type {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #0088cc;
}

.cookie-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,136,204,0.03) 0%, transparent 100%);
    z-index: 0;
}

.cookie-type:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cookie-type i {
    font-size: 2.5rem;
    color: #0088cc;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.cookie-type:hover i {
    transform: scale(1.1);
    color: #005580;
}

.cookie-type h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.cookie-type p {
    color: #666;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* DMCA Steps */
.dmca-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.step {
    position: relative;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: #0088cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,136,204,0.3);
}

.step h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Limitations List */
.limitations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.limitation-item {
    display: flex;
    align-items: flex-start;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid #0088cc;
}

.limitation-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background: #fff;
}

.limitation-item i {
    font-size: 1.5rem;
    color: #0088cc;
    margin-right: 20px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.limitation-item:hover i {
    transform: scale(1.1);
    color: #005580;
}

.limitation-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.limitation-content p {
    color: #666;
    line-height: 1.6;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(to right, #1a1a1a, #2a2a2a);
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #0088cc, #00bcd4);
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #0088cc;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 3px 0;
}

.footer-column a:hover {
    color: #0088cc;
    transform: translateX(5px);
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    color: #ccc;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    color: #0088cc;
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    .data-types,
    .usage-grid,
    .security-grid,
    .rights-grid,
    .terms-grid,
    .cookie-types,
    .dmca-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: #1a1a1a;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 99;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .desktop-social {
        display: none;
    }

    .mobile-social {
        display: block;
        margin-top: 30px;
    }

    .mobile-social .social-icons {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    body.menu-open {
        overflow: hidden;
    }

    .legal-nav {
        top: 60px;
    }

    .legal-nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 15px;
        justify-content: flex-start;
    }

    .legal-nav li {
        flex: 0 0 auto;
    }

    .legal-nav a {
        padding: 15px 20px;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .section-header h1,
    .section-header h2 {
        font-size: 2.2rem;
    }

    .info-card {
        padding: 30px 20px;
    }

    .legal-hero h1 {
        font-size: 2.5rem;
    }

    .legal-hero p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .data-types,
    .usage-grid,
    .security-grid,
    .rights-grid,
    .terms-grid,
    .cookie-types,
    .dmca-steps {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        flex-direction: column;
    }

    .footer-column {
        margin-bottom: 30px;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .section-header h1,
    .section-header h2 {
        font-size: 1.8rem;
    }

    .card-header i {
        font-size: 2.5rem;
    }

    .card-header h2 {
        font-size: 1.6rem;
    }

    .legal-nav a {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-hero p {
        font-size: 1rem;
    }

    .data-type,
    .usage-item,
    .security-item,
    .right-item,
    .terms-item,
    .cookie-type {
        padding: 20px;
    }

    .info-card {
        padding: 25px 15px;
    }

    .policy-section h3 {
        font-size: 1.5rem;
    }

    .limitation-item {
        flex-direction: column;
        text-align: center;
    }

    .limitation-item i {
        margin: 0 0 15px 0;
    }
} 