/* ===== Navigation ===== */
.main-nav {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-logo img {
    border-radius: 6px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.nav-links a i {
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        flex-direction: column;
        padding: 10px 20px 20px;
        gap: 2px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 14px;
        width: 100%;
    }
}

/* ===== Page Hero Header ===== */
.page-hero-header {
    background: var(--header-gradient);
    color: #fff;
    padding: 50px 0 40px;
    text-align: center;
}

.page-hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.5rem;
    color: #a5b4fc;
    backdrop-filter: blur(8px);
}

.page-hero-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.page-hero-header p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

.page-hero-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
}

.page-hero-date i {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .page-hero-header {
        padding: 35px 0 30px;
    }

    .page-hero-header h1 {
        font-size: 1.6rem;
    }

    .page-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }
}

/* ===== Page Content ===== */
.page-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
    background: #f7f9fc;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.2rem;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: 800;
}

.page-subtitle {
    color: #666;
    font-size: 1rem;
}

.page-body {
    max-width: 900px;
    margin: 0 auto;
}

/* ===== Policy Sections ===== */
.policy-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.policy-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.policy-section h2 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8ecf1;
}

.policy-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.policy-section ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.policy-section li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.policy-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a6cf7, #6366f1);
}

.policy-section a {
    color: #4a6cf7;
    text-decoration: none;
    font-weight: 500;
}

.policy-section a:hover {
    text-decoration: underline;
}

/* ===== About Page ===== */
.about-hero {
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    border-radius: 16px;
    padding: 50px 40px;
    margin-bottom: 40px;
}

.about-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.about-hero h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    margin-bottom: 40px;
}

.features-grid h2 {
    text-align: center;
    font-size: 1.6rem;
    color: #1a1a2e;
    margin-bottom: 30px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4a6cf7, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.about-stats {
    margin-bottom: 40px;
}

.about-stats h2 {
    text-align: center;
    font-size: 1.6rem;
    color: #1a1a2e;
    margin-bottom: 30px;
}

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

.stat-item {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4a6cf7, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.about-tech {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.about-tech h2 {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.about-tech p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: linear-gradient(135deg, #e8ecf1, #f0f3f8);
    color: #1a1a2e;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.contact-info p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4a6cf7, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-method h3 {
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.contact-method a,
.contact-method p {
    color: #555;
    font-size: 0.9rem;
    text-decoration: none;
}

.contact-method a:hover {
    color: #4a6cf7;
}

.contact-form-container {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid #dce1e8;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
    background: #fff;
}

.contact-submit {
    background: linear-gradient(135deg, #4a6cf7, #6366f1);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74, 108, 247, 0.3);
}

.contact-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    gap: 15px;
}

.contact-success i {
    font-size: 3rem;
    color: #2ecc71;
}

.contact-success p {
    color: #555;
    font-size: 1.05rem;
}

/* ===== Modern Footer ===== */
.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 50px 0 20px;
    margin-top: 0;
}

.modern-footer .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-footer .footer-column h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.modern-footer .footer-column p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.modern-footer .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-footer .footer-column li {
    margin-bottom: 8px;
}

.modern-footer .footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.modern-footer .footer-column a:hover {
    color: #fff;
}

.modern-footer .footer-bottom {
    text-align: center;
}

.modern-footer .footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .modern-footer .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .modern-footer .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===== Cookie Consent ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-text a {
    color: #8b9cf7;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #4a6cf7, #6366f1);
    color: #fff;
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
