/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    color: #ffd700;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #c0c0c0;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    color: #a0a0a0;
    margin-bottom: 0.5rem;
}

p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 1.8rem;
    color: #ffd700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffd700;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h2 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    color: #000;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    z-index: 1;
}

/* Sections */
.about, .files, .contact {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    max-width: 100%;
}

/* About Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.8));
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(192, 192, 192, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Files Section */
.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.file-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.8));
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(192, 192, 192, 0.1);
    transition: all 0.3s ease;
}

.file-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.file-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.file-card h3 {
    margin: 1rem;
}

.file-card p {
    margin: 0 1rem 1rem;
}

.read-more {
    display: block;
    margin: 0 1rem 1rem;
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
}

.load-more {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    color: #000;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid rgba(192, 192, 192, 0.2);
    border-radius: 5px;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #a0a0a0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ffd700;
    outline: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: #ffd700;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 0 0.5rem;
}

.submit-btn {
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    color: #000;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 2rem;
    margin-top: 5rem;
    text-align: center;
    border-top: 1px solid rgba(192, 192, 192, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        border-top: 1px solid rgba(192, 192, 192, 0.1);
    }

    .nav-links.show {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -5px);
    }

    .hero-content {
        padding: 1rem;
    }

    .features,
    .file-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* About Page Styles */
.about-page {
    padding: 8rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 0.3rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mission, .history, .approach {
    background: rgba(26, 26, 26, 0.6);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(192, 192, 192, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.mission:hover, .history:hover, .approach:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.3);
}

.team-section {
    margin-top: 4rem;
}

.team-section h3 {
    text-align: center;
    color: #c0c0c0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.8));
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(192, 192, 192, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h4 {
    color: #ffd700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.team-member p:first-of-type {
    color: #a0a0a0;
    font-weight: 500;
    margin-bottom: 1rem;
}

.philosophy {
    background: rgba(26, 26, 26, 0.5);
    padding: 3rem;
    border-radius: 10px;
    margin-top: 3rem;
    text-align: center;
    border: 1px solid rgba(192, 192, 192, 0.1);
}

.philosophy blockquote {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.philosophy blockquote::before,
.philosophy blockquote::after {
    content: '"';
    font-size: 2rem;
    color: #ffd700;
    position: absolute;
    top: -0.5rem;
}

.philosophy blockquote::before {
    left: -1rem;
}

.philosophy blockquote::after {
    right: -1rem;
}

.philosophy cite {
    display: block;
    color: #a0a0a0;
    font-style: normal;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.about-features .feature {
    background: linear-gradient(145deg, rgba(42, 42, 42, 0.6), rgba(16, 16, 16, 0.6));
    backdrop-filter: blur(10px);
}

/* Active navigation link */
.nav-links .active {
    color: #ffd700;
    font-weight: 600;
}

/* Privacy Page Styles */
.privacy-page {
    padding: 8rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(192, 192, 192, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.privacy-content > p:first-child {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.privacy-content h3 {
    color: #ffd700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 0.5rem;
}

.privacy-content h4 {
    color: #a0a0a0;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-content ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.privacy-content a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-content a:hover {
    color: #ff6b35;
}

.privacy-content strong {
    color: #ffd700;
    font-weight: 600;
}

/* Mobile styles for privacy */
@media (max-width: 768px) {
    .privacy-content {
        padding: 2rem;
        border-radius: 10px;
    }

    .privacy-content h3 {
        font-size: 1.3rem;
    }

    .privacy-content ul {
        padding-left: 1.5rem;
    }
}

/* Terms Page Styles */
.terms-page {
    padding: 8rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(192, 192, 192, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.terms-content > p:first-child {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.terms-content h3 {
    color: #ffd700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 0.5rem;
}

.terms-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.terms-content ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.terms-content a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-content a:hover {
    color: #ff6b35;
}

.terms-content strong {
    color: #ffd700;
    font-weight: 600;
}

/* Mobile styles for terms */
@media (max-width: 768px) {
    .terms-content {
        padding: 2rem;
        border-radius: 10px;
    }

    .terms-content h3 {
        font-size: 1.3rem;
    }

    .terms-content ul {
        padding-left: 1.5rem;
    }
}

/* Case Page Styles */
.case-page {
    padding: 8rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-header {
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 2px solid rgba(192, 192, 192, 0.1);
    padding-bottom: 2rem;
}

.case-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.case-meta span {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.case-intro {
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.case-intro .lead {
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: italic;
    color: #e0e0e0;
}

.case-section {
    margin-bottom: 4rem;
    background: rgba(26, 26, 26, 0.6);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(192, 192, 192, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.case-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.3);
}

.case-section h3 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 0.3rem;
}

.case-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.case-section ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.case-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ffd700, #ff6b35);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: #ffd700;
    border-radius: 50%;
    border: 3px solid #1a1a1a;
}

.timeline-content h4 {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Theories Grid */
.theories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.theory {
    background: linear-gradient(145deg, rgba(42, 42, 42, 0.6), rgba(16, 16, 16, 0.6));
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(192, 192, 192, 0.1);
    transition: all 0.3s ease;
}

.theory:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.3);
}

.theory h4 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 0.5rem;
}

.theory p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Blockquote Styles */
.case-section blockquote {
    border-left: 4px solid #ffd700;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #c0c0c0;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
}

.case-section blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    color: #a0a0a0;
    text-align: right;
    font-weight: 500;
}

/* Case Conclusion */
.case-conclusion {
    background: linear-gradient(145deg, rgba(16, 16, 16, 0.8), rgba(32, 32, 32, 0.8));
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid #ffd700;
    margin-top: 3rem;
    text-align: center;
}

.case-conclusion h3 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border: none;
    padding-bottom: 0;
}

.classification {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.classification strong {
    color: #ffd700;
    font-weight: 600;
}

/* Mobile styles for case page */
@media (max-width: 768px) {
    .case-page {
        padding: 6rem 1rem 3rem;
    }

    .case-header {
        margin-bottom: 2rem;
    }

    .case-meta {
        gap: 1rem;
    }

    .case-meta span {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }

    .case-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .case-section h3 {
        font-size: 1.2rem;
    }

    .theories-grid {
        grid-template-columns: 1fr;
    }

    .case-conclusion {
        padding: 2rem 1rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-dot {
        left: -0.4rem;
        top: 0.3rem;
        width: 0.8rem;
        height: 0.8rem;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .feature,
    .file-card,
    .team-member {
        border-color: rgba(255, 255, 255, 0.5);
    }
}
