--- runa-gold/css/style.css (原始)


+++ runa-gold/css/style.css (修改后)
:root {
    /* Brandbook v3.0 colors - Runa Gold */
    --paper: #F2EFE9;
    --paper2: #EAE6DC;
    --card: #FBFAF5;
    --ink: #141419;
    --ink2: #0E0E10;
    --gold: #B8934C;
    --gold2: #D9BE85;
    --goldD: #8A6B33;
    --mut: #55524B;
    --dim: #8B867B;

    /* Legacy compatibility */
    --gold-primary: #B8934C;
    --gold-light: #D9BE85;
    --gold-dark: #8A6B33;
    --black-deep: #141419;
    --black-charcoal: #0E0E10;
    --gray-dark: #2A2A2A;
    --gray-medium: #55524B;
    --white: #F2EFE9;
    --white-off: #FBFAF5;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #B8934C 0%, #D9BE85 50%, #8A6B33 100%);
    --gradient-dark: linear-gradient(180deg, #141419 0%, #0E0E10 100%);

    /* Typography - Brandbook compliant */
    --font-primary: 'Marcellus', 'Cormorant', Georgia, serif;
    --font-secondary: 'IBM Plex Sans', Arial, sans-serif;
    --font-mono: 'IBM Plex Mono', Consolas, monospace;
    --font-cyrillic: 'Cormorant', Georgia, serif;

    /* Dimensions and spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 4px;

    /* Shadows and effects */
    --shadow-soft: 0 4px 20px rgba(20, 20, 25, 0.1);
    --shadow-gold: 0 4px 20px rgba(184, 147, 76, 0.3);
    --transition: all 0.3s ease;
    --ln: rgba(20, 20, 25, 0.16);
    --ln2: rgba(20, 20, 25, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--black-deep);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
}

p {
    margin-bottom: 1.5rem;
    color: #CCCCCC;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Контейнер */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--gold-primary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--black-deep);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--black-deep);
    transform: translateY(-3px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-soft);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    position: relative;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text span {
    color: var(--gold-primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 15px;
    border: 1px solid var(--gray-medium);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.lang-btn.active,
.lang-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--gold-primary);
    transition: var(--transition);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23D4AF37" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--gold-primary);
    font-weight: 700;
}

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

/* Quotes Section */
.quotes-section {
    padding: var(--section-padding);
    background: var(--black-charcoal);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}

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

.quote-card {
    background: var(--gray-dark);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--gold-primary);
    transition: var(--transition);
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.quote-metal {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--gold-primary);
}

.quote-price {
    font-size: 1.8rem;
    font-weight: 700;
}

.quote-change {
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 3px;
}

.quote-change.positive {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.quote-change.negative {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
}

.quote-details {
    font-size: 0.85rem;
    color: #999999;
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background: var(--black-deep);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2::after {
    left: 0;
}

.about-text {
    margin-bottom: 2rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    border: 2px solid var(--gold-primary);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--gold-primary);
    border-radius: var(--border-radius);
    z-index: -1;
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background: var(--black-charcoal);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--gray-dark);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--black-deep);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold-primary);
}

/* Advantages Section */
.advantages-section {
    padding: var(--section-padding);
    background: var(--black-deep);
}

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

.advantage-card {
    text-align: center;
    padding: 30px;
}

.advantage-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold-primary);
}

/* Partners Section */
.partners-section {
    padding: var(--section-padding);
    background: var(--black-charcoal);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
}

.partner-logo {
    background: var(--gray-dark);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.partner-logo:hover {
    border-color: var(--gold-primary);
    transform: scale(1.05);
}

.partner-logo h4 {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: var(--black-deep);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gold-primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.contact-form {
    background: var(--gray-dark);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: var(--black-charcoal);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-primary);
}

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

/* Footer */
footer {
    background: var(--black-charcoal);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--gold-primary);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--gold-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #CCCCCC;
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-dark);
    font-size: 0.85rem;
    color: #999999;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black-deep);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    nav ul.active {
        display: flex;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

.error-message {
    color: #F44336;
    padding: 10px;
    background: rgba(244, 67, 54, 0.1);
    border-radius: var(--border-radius);
    margin-top: 10px;
}
