* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

header {
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}


nav {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
}

nav a:hover {
    text-decoration: underline;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    border: 1px solid #eee;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown > a {
    display: inline-flex;
    align-items: center;
}

/* Members Section Styles */
.members-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-left: auto;
}

.members-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem !important;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.members-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    text-decoration: none !important;
}

.register-btn {
    color: #667eea !important;
    font-size: 0.85rem !important;
    font-weight: 500;
    text-decoration: none !important;
    padding: 6px 12px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #667eea;
}

.register-btn:hover {
    background: #667eea;
    color: white !important;
    text-decoration: none !important;
}

.member-separator {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0 4px;
}

.dropdown > a:after {
    content: ' ▼';
    font-size: 0.7rem;
    color: #666;
    margin-left: 0.5rem;
}

.white-section {
    background-color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

#resources.white-section {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)),
        url('../Pictures/background.jpg');
    background-size: auto, 400px;
    background-repeat: repeat;
}


@media (max-width: 768px) {
    .white-section {
        padding: 2rem 1rem;
    }
    
    #welcome {
        padding: 2rem 1rem;
    }
    
    #about-header {
        padding: 2rem 1rem;
    }
    
    nav {
        justify-content: space-between;
        align-items: center;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        padding-top: 1.5rem;
        gap: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 99;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    /* Mobile members section - show above burger menu */
    .members-section {
        order: -1;
        margin-left: 0;
        gap: 0.5rem;
    }
    
    .members-btn {
        font-size: 0.75rem !important;
        padding: 6px 12px;
    }
    
    .register-btn {
        font-size: 0.75rem !important;
        padding: 4px 8px;
    }
    
    .member-separator {
        display: none;
    }
    
    /* Mobile dropdown styles */
    .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
        margin-left: 1rem;
        margin-top: 0.5rem;
        border-radius: 0;
    }
    
    .dropdown-content a {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .dropdown > a:after {
        display: none;
    }
}

#about-header {
    background-image: url('../Pictures/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
}

#about-header h2 {
    font-size: 2.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#welcome {
    background-image: url('../Pictures/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
}

#welcome h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#welcome p {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

#recent-posts h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

article {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

article h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.post-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.read-more {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

#blog-posts {
    margin-bottom: 4rem;
}

#blog-posts h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.blog-post-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 1rem auto;
    display: block;
    object-fit: cover;
}

/* Gallery Styles */
#gallery h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-info {
    padding: 1rem;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.gallery-info p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.image-caption {
    font-weight: bold;
    color: #333;
}

.image-date, .image-drone, .image-location {
    color: #666;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Drone Page Styles */
#drones h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.drone-section {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.drone-section:last-child {
    border-bottom: none;
}

.drone-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.drone-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.drone-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.drone-details h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem 0;
    color: #333;
}

.drone-details ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.drone-details li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.drone-details p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Resources Page Styles */
#resources h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.resource-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.resource-section:last-child {
    border-bottom: none;
}

.resource-section h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.tips-list, .apps-list, .legal-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.tips-list li, .apps-list li, .legal-list li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #333;
}

.tip-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.tip-card p {
    line-height: 1.5;
    margin: 0;
}

.channel-list {
    margin: 2rem 0;
}

.channel-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.channel-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.channel-item p {
    line-height: 1.5;
    margin: 0;
}

.safety-note {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
    margin: 1rem 0;
    font-weight: 500;
}

/* Portfolio Page Styles */
#portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.portfolio-categories {
    text-align: center;
    margin-bottom: 3rem;
}

.category-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-btn.active,
.category-btn:hover {
    background: #333;
    color: white;
    border-color: #333;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.view-project {
    display: inline-block;
    background: white;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.view-project:hover {
    background: #f8f9fa;
}

.portfolio-stats {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
}

.portfolio-stats h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-item img {
        height: 200px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* LUT Comparison Page Styles */
#lut-comparison h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.comparison-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #666;
}

.lut-selector {
    text-align: center;
    margin-bottom: 3rem;
}

.lut-selector label {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #333;
}

.lut-selector select {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    min-width: 250px;
    transition: border-color 0.3s ease;
}

.lut-selector select:focus {
    outline: none;
    border-color: #333;
}

.comparison-container {
    margin-bottom: 4rem;
}

.comparison-wrapper {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.image-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.comparison-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.comparison-image.after {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
    transition: clip-path 0.1s ease;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    transform: translateX(-50%);
    transition: none;
    pointer-events: none;
    z-index: 5;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 255, 255, 0.9) 100%);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3),
                -1px 0 3px rgba(0, 0, 0, 0.2),
                1px 0 3px rgba(0, 0, 0, 0.2);
    transform: translateX(-50%);
    pointer-events: none;
}

.comparison-slider {
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    cursor: col-resize;
    pointer-events: all;
    -webkit-appearance: none;
    appearance: none;
}

.comparison-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    cursor: col-resize;
    border: 2px solid #333;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.comparison-slider::-moz-range-thumb {
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    cursor: col-resize;
    border: 2px solid #333;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 3px solid #333;
    border-radius: 50%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slider-button:before {
    content: '⟷';
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
}

.image-labels {
    position: absolute;
    top: 1rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.label-before,
.label-after {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.lut-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lut-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.lut-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #666;
}

.lut-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.detail-item strong {
    color: #333;
}

.detail-item span {
    color: #666;
}

.usage-tips {
    background: #e8f4f8;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.usage-tips h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.usage-tips ol {
    padding-left: 1.5rem;
}

.usage-tips li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.download-luts {
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.download-luts h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.download-luts a {
    color: #333;
    text-decoration: underline;
    font-weight: 500;
}

.download-luts a:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .comparison-wrapper {
        padding: 1rem;
    }
    
    .image-container {
        max-height: 300px;
    }
    
    .comparison-image {
        max-height: 300px;
    }
    
    .slider-button {
        width: 30px;
        height: 30px;
    }
    
    .slider-button:before {
        font-size: 1rem;
    }
    
    .image-labels {
        padding: 0 1rem;
    }
    
    .label-before,
    .label-after {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .lut-details {
        grid-template-columns: 1fr;
    }
    
    .lut-selector select {
        min-width: 200px;
    }
}

/* Downloads Page Styles */
#downloads {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

#downloads h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.downloads-intro {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.download-categories {
    margin-bottom: 4rem;
}

.download-categories h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #667eea;
    color: #333;
    position: relative;
}

.download-categories h3:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #764ba2, transparent);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.download-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.download-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.download-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
}

.download-item:hover:before {
    transform: translateY(0);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.download-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.download-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.download-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.download-meta span {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
}

.file-size {
    font-weight: 600;
    color: #667eea;
}

.file-type {
    text-transform: uppercase;
    font-weight: 500;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-btn, a.download-btn {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.download-btn:before, a.download-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover, a.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.download-btn:hover:before, a.download-btn:hover:before {
    left: 100%;
}

.premium-downloads {
    background: linear-gradient(135deg, #f6f8fb 0%, #e9ecef 100%);
    padding: 3rem;
    border-radius: 20px;
    margin: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-downloads:before {
    content: '⭐';
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 150px;
    opacity: 0.1;
    transform: rotate(15deg);
}

.premium-downloads h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-downloads p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.premium-downloads ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.premium-downloads li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #333;
}

.premium-downloads li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.subscribe-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.3);
}

.subscribe-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.4);
}

.download-terms {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 4rem;
    border-left: 4px solid #667eea;
}

.download-terms h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.download-terms p {
    color: #666;
    line-height: 1.6;
}

.download-terms a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.download-terms a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    #downloads {
        padding: 2rem 1rem;
    }
    
    #downloads h2 {
        font-size: 2rem;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .premium-downloads {
        padding: 2rem 1.5rem;
    }
    
    .premium-downloads ul {
        grid-template-columns: 1fr;
    }
    
    .subscribe-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Privacy Policy Page Styles */
#privacy {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

#privacy h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1.5rem;
}

#privacy h2:after {
    content: '🔐';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    opacity: 0.5;
}

.legal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.legal-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2c3e50, #3498db, #2c3e50);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.last-updated {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #e67e22);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

#privacy h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    transition: color 0.3s ease;
}

#privacy h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background: linear-gradient(180deg, #3498db, #2c3e50);
    border-radius: 3px;
    transition: height 0.3s ease;
}

#privacy h3:hover {
    color: #3498db;
}

#privacy h3:hover:before {
    height: 100%;
}

#privacy h4 {
    font-size: 1.3rem;
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.1), transparent);
    border-left: 3px solid #3498db;
    border-radius: 0 8px 8px 0;
}

#privacy p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

#privacy ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

#privacy li {
    position: relative;
    padding: 1rem 1.5rem 1rem 3rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.05), rgba(52, 152, 219, 0));
    border-radius: 10px;
    transition: all 0.3s ease;
    color: #555;
    line-height: 1.6;
}

#privacy li:before {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #3498db;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

#privacy li:hover {
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

#privacy li:hover:before {
    transform: translateY(-50%) scale(1.3);
}

#privacy a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

#privacy a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

#privacy a:hover {
    color: #2980b9;
}

#privacy a:hover:after {
    width: 100%;
}

/* Table of Contents Navigation (if you want to add it) */
.privacy-toc {
    position: sticky;
    top: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.privacy-toc h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.privacy-toc ul {
    list-style: none;
    padding: 0;
}

.privacy-toc li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.privacy-toc a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.privacy-toc a:hover {
    color: #3498db;
    padding-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #privacy {
        padding: 2rem 1rem;
    }
    
    #privacy h2 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    #privacy h3 {
        font-size: 1.4rem;
        padding-left: 1.5rem;
    }
    
    #privacy h4 {
        font-size: 1.1rem;
    }
    
    #privacy p {
        font-size: 1rem;
        text-align: left;
    }
    
    #privacy li {
        padding: 0.8rem 1rem 0.8rem 2.5rem;
    }
    
    #privacy li:hover {
        transform: translateX(3px);
    }
}

/* Cookie Consent Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: -500px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 2rem;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
    z-index: 10000;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
}

#cookie-banner.show {
    bottom: 0;
}

#cookie-banner.hide {
    bottom: -500px;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-icon {
    font-size: 1.5rem;
}

.cookie-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
}

.cookie-text a {
    color: #74b9ff;
    text-decoration: none;
    border-bottom: 1px solid #74b9ff;
    transition: all 0.3s ease;
}

.cookie-text a:hover {
    color: #a4d4ff;
    border-bottom-color: #a4d4ff;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn.accept-all {
    background: linear-gradient(135deg, #55efc4, #00b894);
    color: white;
}

.cookie-btn.accept-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 184, 148, 0.4);
}

.cookie-btn.necessary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.necessary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn.preferences {
    background: transparent;
    color: white;
    text-decoration: underline;
    padding: 0.8rem 1rem;
}

.cookie-btn.preferences:hover {
    color: #74b9ff;
}

/* Cookie Preferences Modal */
#cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

#cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: #95a5a6;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #2c3e50;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #3498db;
}

.cookie-category h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-category p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    transition: 0.3s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: #00b894;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

input:disabled + .toggle-slider {
    background: #95a5a6;
    cursor: not-allowed;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.save-preferences {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-preferences:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
}

/* Cookie Settings Link (for footer) */
.cookie-settings-link {
    color: #3498db;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-settings-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 1.5rem 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .cookie-category {
        padding: 1rem;
    }
    
    .cookie-category h3 {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}