/* GodEye - Modern Legal Pages */
@font-face {
    font-family: 'FeatureMono';
    src: url('../assets/fonts/FeatureMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FeatureMono';
    src: url('../assets/fonts/FeatureMono-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --primary-color: #7A7DC8;
    --secondary-color: #4A5568;
    --background-dark: #0D1B2A;
    --background-light: #1B2735;
    --text-primary: #E8F0FF;
    --text-secondary: #94A3B8;
    --accent-blue: #60A5FA;
    --border-color: #2D3748;
    --card-bg: rgba(27, 39, 53, 0.6);
    --hover-bg: rgba(122, 125, 200, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'FeatureMono', 'Courier New', monospace;
    background: linear-gradient(135deg, var(--background-dark) 0%, #15202B 100%);
    color: var(--text-primary);
    line-height: 1.8;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(122, 125, 200, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Header */
header {
    background: rgba(13, 27, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-primary);
    z-index: 1001;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(122, 125, 200, 0.3));
    transition: filter 0.3s ease;
}

.logo:hover .logo-image {
    filter: drop-shadow(0 0 10px rgba(122, 125, 200, 0.5));
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

nav a:hover {
    color: var(--accent-blue);
    background: var(--hover-bg);
}

nav a.active {
    color: var(--primary-color);
    background: var(--hover-bg);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

/* Page Title */
.page-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.page-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Content Sections */
.content-section {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(122, 125, 200, 0.15);
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-section h3 {
    font-size: 1.3rem;
    color: var(--accent-blue);
    margin: 2rem 0 1rem 0;
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    color: var(--text-secondary);
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

/* Do's and Don'ts */
.dos-donts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.do-card,
.dont-card {
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid;
    transition: transform 0.3s ease;
}

.do-card {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
}

.do-card:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-4px);
}

.dont-card {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.3);
}

.dont-card:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: translateY(-4px);
}

.do-card h3 {
    color: #10B981;
    margin-top: 0;
}

.dont-card h3 {
    color: #EF4444;
    margin-top: 0;
}

/* FAQ */
.faq-item {
    background: rgba(122, 125, 200, 0.05);
    border-left: 3px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(122, 125, 200, 0.1);
    padding-left: 2rem;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'FeatureMono', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-family: 'FeatureMono', monospace;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: bold;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(122, 125, 200, 0.3);
}

/* Footer */
footer {
    background: rgba(13, 27, 42, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.company-name {
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Logo на мобильных */
    .logo {
        gap: 0.4rem;
    }

    .logo-image {
        width: 24px;
        height: 24px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-color);
        padding: 5rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav li {
        border-bottom: 1px solid var(--border-color);
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 1.2rem 1rem;
        font-size: 1.1rem;
        border-radius: 0;
    }

    nav a:hover,
    nav a.active {
        background: var(--hover-bg);
        transform: translateX(5px);
    }

    /* Mobile Overlay */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(2px);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .mobile-overlay.active {
        display: block;
        opacity: 1;
    }

    .page-title {
        font-size: 2rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .dos-donts-grid {
        grid-template-columns: 1fr;
    }

    /* Footer on mobile */
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Планшеты */
@media (min-width: 769px) and (max-width: 1024px) {
    .logo-image {
        width: 26px;
        height: 26px;
    }

    .logo-text {
        font-size: 1.3rem;
    }
}

/* Большие экраны */
@media (min-width: 1440px) {
    .logo-image {
        width: 30px;
        height: 30px;
    }

    .logo-text {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

