/* ============================================
   SERGEY RYABKOV — Premium Business Card
   Color Palette: Black + White + Royal Blue
   ============================================ */

:root {
    --color-bg: #000000;
    --color-bg-alt: #0a0a0a;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-accent: #4169E1;
    --color-accent-hover: #5a7fe8;
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Language Navigation */
.lang-nav {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 100;
}

.lang-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.lang-nav a:hover {
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-nav a.active {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(65, 105, 225, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(65, 105, 225, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 48px;
    animation: fadeInDown 0.8s ease-out;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

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

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

.hero-name {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-tagline {
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--color-accent);
    margin-bottom: 56px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-tagline .separator {
    color: rgba(65, 105, 225, 0.5);
    margin: 0 8px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-text);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(65, 105, 225, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--color-bg-alt);
}

.section-header {
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.accent-line {
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

.lead-text {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 24px;
}

.body-text {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 700px;
}

.intro-text {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 800px;
    margin-bottom: 56px;
    line-height: 1.8;
}

/* Formats Grid */
.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.format-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
}

.format-card:hover {
    border-color: rgba(65, 105, 225, 0.3);
    transform: translateY(-4px);
}

.format-number {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.format-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.format-card p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Value Grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.value-block h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--color-accent);
}

.value-list {
    list-style: none;
}

.value-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--color-text-muted);
}

.value-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 1px;
    background: var(--color-accent);
}

/* Geography */
.geo-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 300;
}

.geo-item {
    transition: var(--transition);
}

.geo-item:hover {
    color: var(--color-accent);
}

.geo-separator {
    color: var(--color-accent);
    opacity: 0.5;
}

/* Why Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.why-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: var(--transition);
}

.why-card:hover {
    border-color: rgba(65, 105, 225, 0.3);
    transform: translateY(-4px);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(65, 105, 225, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.why-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Contact Section */
.section-contact {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--color-accent);
    background: rgba(65, 105, 225, 0.05);
}

.contact-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-item span {
    font-size: 15px;
    word-break: break-all;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .lang-nav {
        top: 16px;
        right: 16px;
    }
    
    .lang-nav a {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .status-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .hero-tagline {
        letter-spacing: 3px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .geo-list {
        flex-direction: column;
        gap: 12px;
    }
    
    .geo-separator {
        display: none;
    }
}

/* Selection */
::selection {
    background: var(--color-accent);
    color: var(--color-text);
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
