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

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

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

:root {
    --bg-dark: #020202;
    --accent-blue: #0084ff;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    scroll-behavior: smooth;
}

body {
    font-family: 'Cruinn', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Marquee */
.marquee-container {
    background: #000;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
    position: relative;
    width: 100%;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 60s linear infinite;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.4;
}

.marquee-item { padding-right: 100px; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.logo-text {
    display: inline-block;
    transform: translateX(-150%);
    opacity: 0;
}

.logo.logo-active .logo-text {
    animation: logoDriveIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logoDriveIn {
    0% { transform: translateX(-120%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.nav { display: flex; gap: 12px; }

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--glass);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.nav a:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 132, 255, 0.1);
}

/* Hero Section */
.hero {
    padding: 60px 0 100px;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at 70% 40%, rgba(0, 132, 255, 0.08) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 650px;
}

.hero-title {
    font-size: 6.8rem;
    line-height: 0.92;
    font-weight: bold;
    letter-spacing: -0.04em;
    margin-bottom: 25px;
    background: linear-gradient(180deg, #fff 70%, rgba(255,255,255,0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 50px;
    max-width: 500px;
}

.hero-cta { display: flex; flex-direction: column; gap: 15px; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #007aff;
    color: #fff;
    padding: 22px 55px;
    border-radius: 16px;
    font-weight: bold;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 20px 40px rgba(0, 122, 255, 0.3);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 122, 255, 0.5);
}

.btn-tg-icon { 
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.cta-info {
    font-size: 0.9rem;
    color: #a1a1a6;
    letter-spacing: 0.04em;
    margin-top: 15px;
    opacity: 0.9;
}

/* Visual Block */
.hero-visual {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.price-banner {
    position: absolute;
    left: 0;
    top: 35%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price-val {
    font-size: 7.5rem;
    line-height: 1;
    font-weight: bold;
    color: var(--accent-blue);
    text-shadow: 0 0 50px rgba(0, 132, 255, 0.4);
}

.price-unit { font-size: 1.4rem; color: var(--text-secondary); font-weight: bold; }

.price-arrow {
    width: 80px;
    height: 40px;
    margin-top: 10px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 35C25 35 45 15 95 5" stroke="%230084ff" stroke-width="2" stroke-linecap="round"/><path d="M95 5L85 5M95 5L95 15" stroke="%230084ff" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat center;
}

.product-wrap {
    animation: fadeInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-img {
    max-width: 900px;
    height: auto;
    filter: drop-shadow(0 0 100px rgba(0, 132, 255, 0.15));
    mask-image: radial-gradient(circle at center, black 70%, transparent 98%);
    -webkit-mask-image: radial-gradient(circle at center, black 70%, transparent 98%);
}

/* Benefits */
.hero-benefits {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.benefit-icon { font-size: 2.2rem; margin-bottom: 5px; }

.benefit-content { 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    gap: 5px;
}
.benefit-content strong { font-size: 1rem; color: #fff; }
.benefit-content span { font-size: 0.85rem; color: var(--text-secondary); }

/* Footer & Contacts - Compact Premium Card */
.footer {
    padding: 80px 0 48px;
    background: #000;
    border-top: 1px solid var(--border);
}

.contacts-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.5fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.card-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-col:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 40px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: -0.01em;
    margin: 0;
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.col-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: bold;
}

/* Refined Phone Style */
.phone-col {
    align-items: center;
}

.phone-link-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.phone-icon-svg {
    width: 22px;
    height: 22px;
    color: var(--accent-blue);
    opacity: 0.8;
}

.phone-link-compact {
    font-family: 'Cruinn', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(180deg, #FFFFFF 0%, #C0C0C0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    line-height: 1;
    display: inline-block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 132, 255, 0.15));
}

.phone-link-wrapper:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 132, 255, 0.2);
    transform: translateY(-2px) scale(1.01);
}

.phone-link-wrapper:hover .phone-link-compact {
    filter: drop-shadow(0 0 15px rgba(0, 132, 255, 0.3));
}

.legal-col p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.4;
    margin: 0;
}

.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: #444; letter-spacing: 0.05em; }

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #888;
}

/* ------------------------------------------- */
/* MOBILE ADAPTATION */
/* ------------------------------------------- */
/* MOBILE ADAPTATION */
/* ------------------------------------------- */

@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    .hero-title { font-size: 5rem; }
    .product-img { max-width: 600px; }
    .price-val { font-size: 5.5rem; }
    
    .contacts-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    .card-col:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-right: 0;
        padding-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .header { padding: 15px 0; }
    .logo { font-size: 1.1rem; }
    .nav { gap: 8px; }
    .nav a { padding: 8px 14px; font-size: 0.8rem; }
    
    .footer { padding: 60px 0 30px; }
    .brand-title { font-size: 1.8rem; }
    .phone-link-compact { font-size: 1.4rem; }
    .phone-link-wrapper { padding: 8px 15px; }
    .footer-bottom p { font-size: 0.75rem; }

    .hero { padding: 40px 0; min-height: auto; }
    .hero-layout { flex-direction: column; text-align: center; gap: 0; display: flex; }
    .hero-text, .hero-visual { display: contents; }
    .hero-title { order: 1; font-size: clamp(2.8rem, 14vw, 4.5rem); margin-bottom: 20px; width: 100%; }
    .hero-description { order: 2; font-size: 1.1rem; margin-bottom: 30px; padding: 0 10px; }
    .product-wrap { order: 3; width: 100%; display: flex; justify-content: center; margin-bottom: 20px; }
    .product-img { max-width: 90%; }
    .price-banner { order: 4; position: static; align-items: center; margin-bottom: 30px; width: 100%; animation: fadeInUp 1s ease both; }
    .price-val { font-size: 4rem; }
    .price-arrow { display: none; }
    .hero-cta { order: 5; width: 100%; align-items: center; margin-bottom: 50px; }
    .btn-primary { width: 100%; max-width: 400px; padding: 18px; font-size: 1.1rem; }
    .btn-tg-icon { width: 28px; height: 28px; }
    .cta-info { margin-top: 10px; font-size: 0.75rem; }
    .hero-benefits { order: 6; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; text-align: left; }
    .benefit-item { background: rgba(255, 255, 255, 0.02); padding: 15px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); }
}

@media (max-width: 380px) {
    .logo { font-size: 0.95rem; }
    .nav a { padding: 6px 10px; font-size: 0.75rem; }
    .hero-title { font-size: 2.5rem; }
}
