/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Header Styles */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo-link {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    transition: var(--transition);
    margin-bottom: 0.15rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    transition: var(--transition);
    line-height: 1;
    padding-bottom: 0.15rem;
}

.logo-link:hover .logo-img {
    transform: scale(1.02);
}

.logo-link:hover .logo-text {
    color: var(--primary-color);
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: flex-end;
}

.main-nav > ul > li > a {
    padding: 0.5rem 1rem;
    padding-bottom: 0.15rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    min-width: 200px;
    padding: 0.5rem 0;
    list-style: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    min-width: 200px;
    padding: 0.5rem 0;
    list-style: none;
}

.dropdown-submenu:hover .submenu {
    display: block;
}

.arrow {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    padding: 0.25rem;
    width: 200px;
    font-size: 0.875rem;
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.search-btn:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-quote {
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-quote:hover {
    background: #059669;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: 1rem;
}

.lead {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Products Section */
.products-section {
    background: var(--bg-white);
    padding: 5rem 0;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    background: var(--bg-light);
    padding: 2rem;
    text-align: center;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    margin: 0 auto;
}

.capability-icon {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
}

.placeholder-img {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.product-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.product-category {
    padding: 0 1.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    padding: 0.5rem 1.5rem 1rem;
    color: var(--text-light);
    line-height: 1.5;
    flex: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price small {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Categories */
.product-categories {
    background: var(--bg-white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.category-card h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.category-list {
    list-style: none;
}

.category-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.8;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list strong {
    color: var(--text-dark);
    display: inline-block;
    min-width: 150px;
}

/* Applications */
.applications {
    background: var(--bg-light);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.application-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.application-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.application-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.application-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.link-arrow:hover {
    color: var(--primary-dark);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background: var(--bg-white);
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-info-centered {
    max-width: 900px;
    margin: 0 auto;
}

.contact-details-large {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    text-align: center;
}

.contact-item-large {
    padding: 1rem;
}

.contact-item-large strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.contact-item-large a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: var(--transition);
}

.contact-item-large a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.contact-item-large p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.specialist-section-centered {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.specialist-section-centered h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.specialist-section-centered p {
    color: white;
    opacity: 0.95;
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Guide Section */
.guide-section {
    background: var(--bg-white);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.guide-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.guide-card h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.guide-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.875rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        padding: 1rem;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 0.5rem;
    }
    
    .dropdown-submenu .submenu {
        position: static;
        box-shadow: none;
        background: var(--bg-white);
        margin-left: 1rem;
        margin-top: 0.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .search-box {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details-large {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .specialist-section-centered {
        padding: 2rem;
    }
    
    .specialist-section-centered h4 {
        font-size: 1.25rem;
    }
    
    .specialist-section-centered p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 38px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .header-content {
        gap: 1rem;
    }
    
    .logo-link {
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

