:root {
    --primary-color: #1A1A1A; /* Почти чёрный */
    --primary-dark: #121212;
    --secondary-color: #333333;
    --accent-color: #8C7851; /* Приглушённый золотой */
    --accent-dark: #6A5C3D;
    --mystery-gold: #BEA97C; /* Светлый золотой */
    --mystery-dark: #22221E;
    --bg-dark: #0A0A0A; /* Глубокий чёрный */
    --text-dark: #1E1E1E;
    --text-light: #D5CDB6; /* Светлый бежевый */
    --text-lighter: #EDEADD; /* Кремовый */
    --bg-light: #1E1E1A; /* Тёмно-бежевый */
    --white: #FFFFFF;
    --gray-50: #F8F8F5;
    --gray-100: #F1F1ED;
    --gray-200: #E2E2DC;
    --gray-300: #CBCBC1;
    --success-color: #4F6D4A;
    --warning-color: #BEA97C;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    --shadow-mystery: 0 8px 20px rgba(10, 10, 10, 0.4);
    --gradient-primary: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
    --gradient-button: linear-gradient(135deg, #8C7851 0%, #BEA97C 100%);
    --gradient-accent: linear-gradient(135deg, #6A5C3D 0%, #8C7851 100%);
    --gradient-mystery: linear-gradient(135deg, #121212 0%, #1A1A1A 50%, #333333 100%);
    --gradient-dark: linear-gradient(135deg, #0A0A0A 0%, #1E1E1A 100%);
    --logo-shadow: 0 0 15px rgba(190, 169, 124, 0.3);
    --logo-animation: subtle-glow 3s ease-in-out infinite;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --border-color: rgba(190, 169, 124, 0.15);
    --overlay-dark: rgba(10, 10, 10, 0.7);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--white);
    overflow-x: hidden;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 25% 15%, rgba(190, 169, 124, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 85%, rgba(140, 120, 81, 0.03) 0%, transparent 50%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    margin-bottom: 1.5rem;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    font-family: var(--font-serif);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(190, 169, 124, 0.4);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--overlay-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(10, 10, 10, 0.5);
    border-bottom: 1px solid var(--border-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-lighter);
    text-decoration: none;
    display: flex;
    align-items: center;
    text-shadow: 0 0 10px rgba(190, 169, 124, 0.3);
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 15px rgba(190, 169, 124, 0.5);
    transform: translateY(-1px);
    color: var(--white);
}

.logo-img {
    width: 48px;
    height: 48px;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
    vertical-align: middle;
    object-fit: contain;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-img {
        width: 40px;
        height: 40px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 80%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(30, 30, 26, 0.85) 50%, rgba(34, 34, 30, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" fill="rgba(255,255,255,0.02)"><circle cx="100" cy="100" r="3"/><circle cx="300" cy="200" r="2"/><circle cx="500" cy="150" r="3"/><circle cx="700" cy="300" r="2"/><circle cx="900" cy="250" r="3"/><circle cx="150" cy="400" r="2"/><circle cx="350" cy="350" r="3"/><circle cx="550" cy="500" r="2"/><circle cx="750" cy="450" r="3"/><circle cx="950" cy="550" r="2"/><circle cx="150" cy="600" r="3"/><circle cx="350" cy="650" r="2"/><circle cx="550" cy="700" r="3"/><circle cx="750" cy="750" r="2"/><circle cx="950" cy="800" r="3"/></svg>');
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(190, 169, 124, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(140, 120, 81, 0.07) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    position: relative;
    background: linear-gradient(to right, #ffffff 0%, var(--text-lighter) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(10, 10, 10, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(190, 169, 124, 0.2);
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 10, 10, 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hero-image {
    text-align: center;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    z-index: 1;
    pointer-events: none;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    filter: brightness(0.9) contrast(1.1) sepia(10%);
    border: 1px solid rgba(190, 169, 124, 0.05);
}

/* Features Section */
.features {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.features::before,
.features::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    filter: blur(1px);
}

.features::before {
    top: 20px;
    right: 5%;
    animation: float 6s ease-in-out infinite;
    background-image: url('../images/moth-logo.png');
}

.features::after {
    bottom: 20px;
    left: 5%;
    width: 40px;
    height: 40px;
    animation: float 4s ease-in-out infinite reverse;
    background-image: url('../images/moth-logo.png');
}

.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(190, 169, 124, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(140, 120, 81, 0.05) 0%, transparent 30%);
    z-index: 0;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) translateX(5px) rotate(5deg); }
    50% { transform: translateY(-30px) translateX(-5px) rotate(10deg); }
    75% { transform: translateY(-15px) translateX(-10px) rotate(5deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
}

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

.feature-card {
    background: rgba(26, 26, 26, 0.6);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(190, 169, 124, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-mystery);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(10, 10, 10, 0.3);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    color: var(--mystery-gold);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    text-align: center;
    font-family: var(--font-serif);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
    flex-grow: 1;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(to bottom, var(--bg-dark), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(190, 169, 124, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(140, 120, 81, 0.05) 0%, transparent 30%);
    z-index: 0;
    pointer-events: none;
}

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

.testimonial-card {
    background: rgba(26, 26, 26, 0.4);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(190, 169, 124, 0.2);
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    color: var(--accent-color);
    opacity: 0.15;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(10, 10, 10, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--white);
    font-family: var(--font-serif);
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Contact Form Section */
.contact {
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '🔍';
    position: absolute;
    top: 15%;
    left: 10%;
    font-size: 2.5rem;
    opacity: 0.05;
    animation: subtle-pulse 3s ease-in-out infinite;
    filter: blur(1px);
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(190, 169, 124, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(140, 120, 81, 0.05) 0%, transparent 30%);
    z-index: 0;
    pointer-events: none;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 0.05; transform: scale(1); }
    50% { opacity: 0.08; transform: scale(1.05); }
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(26, 26, 26, 0.6);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-lighter);
}

.form-group label.required::after {
    content: ' *';
    color: #EF4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(10, 10, 10, 0.3);
    color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-family: var(--font-sans);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(190, 169, 124, 0.1);
    background: rgba(10, 10, 10, 0.4);
}

.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #EF4444;
}

.form-hint {
    display: none;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #EF4444;
}

.input-invalid + .form-hint {
    display: block;
}

/* Captcha Styles */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.captcha-question {
    background: rgba(26, 26, 26, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    color: var(--white);
    border: 1px solid var(--border-color);
    font-weight: 500;
    min-width: 120px;
    text-align: center;
}

.captcha-refresh {
    background: var(--accent-color);
    border: 1px solid rgba(190, 169, 124, 0.2);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-refresh:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.captcha-refresh:active {
    transform: translateY(0);
}

#captcha {
    flex: 1;
    max-width: 120px;
}

.captcha-invalid {
    border-color: #EF4444 !important;
}

.captcha-invalid + .captcha-refresh {
    border-color: #EF4444;
}

#captchaHint {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .captcha-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .captcha-question {
        min-width: auto;
    }

    #captcha {
        max-width: none;
    }
}

.submit-btn {
    width: 100%;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(10, 10, 10, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(190, 169, 124, 0.1);
    letter-spacing: 0.5px;
    font-family: var(--font-sans);
}

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

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 10, 10, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--text-lighter);
    text-align: center;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

/* Modal Popup Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--primary-dark);
    width: 90%;
    max-width: 500px;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.modal.visible .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    line-height: 0.5;
}

.modal-close:hover {
    color: var(--white);
    transform: rotate(90deg);
}

.modal-body {
    margin-bottom: 1.5rem;
}

.modal-body p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.modal-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.modal-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(190, 169, 124, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(140, 120, 81, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.footer p {
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes subtle-glow {
    0%, 100% { filter: sepia(20%) brightness(90%); }
    50% { filter: sepia(30%) brightness(110%); }
}

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

.animate-glow {
    animation: subtle-glow 4s ease-in-out infinite;
}

.animate-float {
    animation: subtle-float 5s ease-in-out infinite;
}

.animate-fadeIn { animation: fadeIn 1.2s ease forwards; }
.animate-fadeInUp { animation: fadeInUp 1.2s ease forwards; }
.animate-fadeInDown { animation: fadeInDown 1.2s ease forwards; }
.animate-fadeInLeft { animation: fadeInLeft 1.2s ease forwards; }
.animate-fadeInRight { animation: fadeInRight 1.2s ease forwards; }

/* Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    background: rgba(79, 109, 74, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(79, 109, 74, 0.2);
}

.form-message.error {
    background: rgba(185, 28, 28, 0.2);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .feature-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        background: var(--overlay-dark);
        width: 100%;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        gap: 0;
        transition: all 0.3s ease;
        box-shadow: var(--shadow);
        opacity: 0;
        z-index: 999;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        height: auto;
        opacity: 1;
        padding: 2rem 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
    }

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

    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2rem;
    }
    
    .testimonial-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Mobile Menu Icon */
.hamburger {
    display: inline-block;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    width: 0;
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Decorative Elements */
.decorative-logo {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
    background-image: url('../images/moth-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.decorative-logo-1 {
    top: 15%;
    right: 10%;
    transform: rotate(15deg);
    animation: float 8s ease-in-out infinite;
}

.decorative-logo-2 {
    bottom: 20%;
    left: 8%;
    transform: rotate(-10deg);
    animation: float 6s ease-in-out infinite reverse;
    animation-delay: 2s;
}

/* Moth Logo Styling */
.moth-logo {
    display: block;
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
    background-image: url('../images/moth-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-container {
    width: 120px;
    height: 80px;
    position: relative;
    margin: 0 auto 2rem;
    animation: subtle-float 6s ease-in-out infinite;
}

.logo-container:hover .moth-logo {
    transform: scale(1.05);
}

/* Vintage Paper Texture */
.vintage-texture {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 500 500"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/><feBlend mode="multiply" in="SourceGraphic" result="monoNoise"/></filter><rect width="500" height="500" filter="url(%23noise)" opacity="0.05"/></svg>');
    pointer-events: none;
    z-index: 10000;
    opacity: 0.05;
}