:root {
    --bg-color: #f8f9fc;
    --text-primary: #0a2540;
    --text-secondary: #425466;
    --accent-color: #635bff;
    --accent-hover: #0a2540;
    --white: #ffffff;
    --border-color: #e6ebf1;
    --card-shadow: 0 13px 27px -5px rgba(50,50,93,.05), 0 8px 16px -8px rgba(0,0,0,.03);
    --card-shadow-hover: 0 30px 60px -12px rgba(50,50,93,.25), 0 18px 36px -18px rgba(0,0,0,.3), 0 -12px 36px -8px rgba(0,0,0,.025);
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

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

.logo-img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-color);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

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

.btn-nav {
    background: var(--accent-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 20px;
}

.btn-nav:hover {
    background: var(--text-primary);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background-image: url('hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255,255,255,0.5);
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
}

.btn-primary:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
}

/* Sections */
section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 42px;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 18px;
}

/* Products Grid */
.category-block {
    margin-bottom: 100px;
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-header h3 {
    display: inline-block;
    font-size: 24px;
    color: var(--accent-color);
    background: rgba(99, 91, 255, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card h4 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.product-card p {
    font-size: 15px;
    line-height: 1.7;
}

/* Consultation Form */
.consultation-section {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.consultation-info h2 {
    font-size: 40px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.consultation-info p {
    font-size: 18px;
    margin-bottom: 30px;
}

.benefit-list p {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.benefit-list p::before {
    content: '→';
    color: var(--accent-color);
    margin-right: 15px;
    font-weight: bold;
}

.form-wrapper {
    background: var(--bg-color);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-wrapper input,
.form-wrapper select,
.form-wrapper textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--white);
    transition: var(--transition);
}

.form-wrapper input:focus,
.form-wrapper select:focus,
.form-wrapper textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.1);
}

/* Footer */
footer {
    background: var(--white);
    padding: 60px 0;
    text-align: center;
}

.footer-logo img {
    height: 48px;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 968px) {
    .consultation-box {
        grid-template-columns: 1fr;
    }
    .hero-content {
        padding: 40px;
    }
    .hero h1 {
        font-size: 42px;
    }
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 37, 64, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    background: var(--white);
    padding: 60px;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(50,50,93,.25), 0 30px 60px -30px rgba(0,0,0,.3);
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.show .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.modal-header-accent {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin-bottom: 25px;
    border-radius: 2px;
}

#modalTitle {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.modal-line {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 25px;
}

#modalDescription {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}
