/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1a1a1a 0%, #2D2D2D 100%);
    min-height: 100vh;
}

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

/* Header */
.header {
    background: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #4A4A4A;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00FF66;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 100%);
}

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

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #00FF66 0%, #0099FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 500;
}

.hero-feature svg {
    flex-shrink: 0;
}

.hero-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px;
}

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

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

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00FF66;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
}

/* Buttons */
.cta-button, .product-button, .submit-button {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #00FF66 0%, #00CC52 100%);
    color: #2D2D2D;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover, .product-button:hover, .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 102, 0.3);
    background: linear-gradient(135deg, #00CC52 0%, #00AA44 100%);
}

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

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
}

/* Services Overview */
.services-overview {
    background: rgba(26, 26, 26, 0.5);
}

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

.service-card {
    background: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 100%);
    border: 1px solid #4A4A4A;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #00FF66;
    box-shadow: 0 20px 40px rgba(0, 255, 102, 0.1);
}

.service-icon {
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #00FF66;
}

.service-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* RTX Stations & Render Queues */
.rtx-stations, .render-queues {
    padding: 80px 0;
}

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

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.section-text h2 {
    text-align: left;
    margin-bottom: 24px;
}

.section-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.features-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #ffffff;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00FF66;
    font-weight: bold;
}

.section-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.section-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Equipment Rental */
.equipment-rental {
    background: rgba(26, 26, 26, 0.5);
}

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

.equipment-card {
    background: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 100%);
    border: 1px solid #4A4A4A;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-8px);
    border-color: #0099FF;
    box-shadow: 0 20px 40px rgba(0, 153, 255, 0.1);
}

.equipment-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.equipment-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 20px 12px;
    color: #0099FF;
}

.equipment-card p {
    color: #cccccc;
    margin: 0 20px 20px;
    line-height: 1.5;
}

/* Products/Pricing */
.products {
    padding: 80px 0;
}

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

.product-card {
    background: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 100%);
    border: 1px solid #4A4A4A;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.product-card.featured {
    border-color: #00FF66;
    transform: scale(1.05);
}

.product-card.featured::before {
    content: "Популярний";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #00FF66;
    color: #2D2D2D;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #00FF66;
    box-shadow: 0 20px 40px rgba(0, 255, 102, 0.1);
}

.product-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00FF66;
    margin-bottom: 30px;
}

.price span {
    font-size: 1rem;
    color: #cccccc;
    font-weight: 400;
}

.product-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.product-card li {
    padding: 8px 0;
    color: #cccccc;
    border-bottom: 1px solid #4A4A4A;
}

.product-card li:last-child {
    border-bottom: none;
}

/* Storage Solutions */
.storage {
    background: rgba(26, 26, 26, 0.5);
}

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

.storage-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.storage-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.storage-info p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 32px;
    line-height: 1.7;
}

.storage-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.storage-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    font-weight: 500;
}

/* Contacts */
.contacts {
    padding: 80px 0;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #00FF66;
}

.contact-item p {
    color: #cccccc;
    font-size: 1rem;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-map-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 100%);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #4A4A4A;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close {
    color: #cccccc;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #FF4444;
}

.modal-content h2 {
    color: #00FF66;
    margin-bottom: 30px;
    text-align: center;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #4A4A4A;
    border-radius: 8px;
    background: rgba(45, 45, 45, 0.5);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00FF66;
    box-shadow: 0 0 0 3px rgba(0, 255, 102, 0.1);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2D2D2D 100%);
    border-top: 1px solid #4A4A4A;
    padding: 40px 0 20px;
    margin-top: 80px;
}

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

.footer-brand .logo-container {
    margin-bottom: 16px;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
    color: #00FF66;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    color: #0099FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #00FF66;
}

.footer-contact p {
    color: #cccccc;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #4A4A4A;
    padding-top: 20px;
    text-align: center;
    color: #888888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-content.reverse {
        direction: ltr;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .storage-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-nav {
        align-items: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-features {
        gap: 12px;
    }
    
    .services-grid,
    .equipment-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
    }
    
    section {
        padding: 40px 0;
    }
}