/* ====================================================================
   DRENIZ SYSTEM CORE STYLES v1.4
   ==================================================================== */

:root {
    --brand-red: #ed154b;
    --brand-green: #22c55e;
    --dark: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #f1f5f9;
    --bg-light: #f8fafc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Korinna', serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- HEADER & MENU --- */

header {
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none !important;
    color: var(--dark);
    font-weight: bold;
    margin-left: 30px;
    font-size: 13px;
    text-transform: uppercase;
    transition: 0.2s;
    white-space: nowrap;
}

nav a:hover {
    color: var(--brand-red);
}

.nav-phone {
    color: var(--brand-red) !important;
    font-size: 15px;
    margin-right: 10px;
}

.has-child::after {
    content: '▼';
    font-size: 8px;
    margin-left: 5px;
    vertical-align: middle;
    opacity: 0.5;
}

/* --- HERO SECTION --- */

.hero-container {
    position: relative;
    height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    background: #fff;
}

.top-divider {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 10;
    background: url('/assets/img/wave2.svg') no-repeat center top;
    background-size: 100% 100%;
    filter: brightness(0) invert(1);
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
    z-index: 2;
}

.bottom-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 10;
    background: url('/assets/img/wave1.svg') no-repeat center bottom;
    background-size: 100% 100%;
    filter: brightness(0) invert(1);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    width: 100%;
    gap: 20px;
    z-index: 5;
}

.hero-visual {
    text-align: right;
}

.hero-visual img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}

.hero-text {
    padding-left: 40px;
}

.hero-text h1 {
    font-size: 80px;
    margin: 0;
    line-height: 0.9;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 18px;
    margin: 20px 0 30px;
    line-height: 1.3;
    max-width: 450px;
    font-weight: bold;
}

.btn-action {
    background: var(--brand-red);
    color: #fff;
    padding: 16px 50px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 15px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-action:hover {
    background: #c4123e;
    transform: translateY(-2px);
}

/* --- WELCOME SECTION --- */

.welcome-section {
    position: relative;
    padding: 80px 0;
    background: #fff;
    z-index: 11;
}

.welcome-content {
    max-width: 850px;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.welcome-content strong {
    color: var(--brand-red);
}

/* --- COMPARISON GRID --- */

.section-header {
    text-align: center;
    padding: 80px 0 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--dark);
    font-weight: 900;
}

.section-header p {
    font-size: 24px;
    color: var(--text-light);
    margin-top: 10px;
}

.comp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.comp-item {
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.comp-item.factory {
    border-top: 8px solid var(--brand-green);
}

.comp-item.reseller {
    border-top: 8px solid #cbd5e0;
}

.comp-item h3 {
    font-size: 32px;
    margin-bottom: 30px;
}

.comp-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.comp-list li {
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    font-size: 16px;
    list-style: none !important;
}

.comp-list li::before {
    position: absolute;
    left: 0;
    font-weight: 900;
    font-size: 22px;
    top: -2px;
}

.factory .comp-list li::before {
    content: '✔';
    color: var(--brand-green);
}

.reseller .comp-list li::before {
    content: '✖';
    color: #a0aec0;
}

/* --- PRICES SECTION --- */

.price-section {
    background: var(--dark);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.price-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.price-card {
    width: 300px;
    padding: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
}

.price-card img {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.price-tag {
    font-size: 32px;
    color: var(--brand-green);
    font-weight: 900;
    display: block;
    margin-top: 10px;
}

/* --- SHOP & CATALOG GRID --- */

.page-header {
    padding: 80px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--brand-green);
}

.product-img {
    height: 280px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
}

.product-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--brand-green);
    margin-bottom: 20px;
}

.product-price span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: normal;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    font-size: 13px;
}

.tech-table td {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.tech-table td:last-child {
    text-align: right;
    font-weight: bold;
    color: var(--dark);
}

.tech-table td:first-child {
    color: var(--text-light);
}

/* --- CALCULATOR SECTION --- */

.calc-section {
    padding: 100px 0;
    background: #f8fafc;
}

.calc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.calc-card {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.input-group {
    margin-bottom: 25px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
    text-transform: uppercase;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 18px;
    font-family: inherit;
    outline: none;
}

.btn-calc {
    width: 100%;
    background: var(--dark);
    color: #fff;
    border: none;
    padding: 20px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 16px;
}

.calc-results {
    margin-top: 30px;
    display: none;
}

/* --- FOOTER --- */

footer {
    background: #fff;
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info p {
    font-size: 14px;
    color: #64748b;
    margin: 10px 0;
}

.copyright {
    font-size: 11px;
    color: #94a3b8;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
}

/* --- RESPONSIVE --- */

@media (max-width: 1024px) {
    .header-flex, 
    .hero-grid, 
    .comp-grid, 
    .calc-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text {
        padding-left: 0;
    }
    .hero-visual {
        display: none;
    }
    .hero-container {
        height: 550px;
    }
    nav {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav a {
        margin: 5px 10px;
    }
}