/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #0F172A;
    background-color: #FFFFFF;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn--primary {
    background-color: #2C7A7B;
    color: white;
}

.btn--primary:hover {
    background-color: #234f50;
    transform: translateY(-2px);
}

.btn--secondary {
    background-color: #F59E0B;
    color: white;
}

.btn--secondary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    color: #2C7A7B;
    border: 2px solid #2C7A7B;
}

.btn--outline:hover {
    background-color: #2C7A7B;
    color: white;
    transform: translateY(-2px);
}

/* Section Titles */
.section__title {
    text-align: center;
    margin-bottom: 3rem;
    color: #0F172A;
    position: relative;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 3px;
    background: linear-gradient(90deg, #2C7A7B, #F59E0B);
    border-radius: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(44, 122, 123, 0.1);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav__logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C7A7B;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    text-decoration: none;
    color: #0F172A;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: #2C7A7B;
}

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2C7A7B;
    border-radius: 1px;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background-color: #2C7A7B;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(44, 122, 123, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__title {
    margin-bottom: 1.5rem;
    color: #0F172A;
}

.hero__description {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-placeholder {
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Trust Section */
.trust {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.trust__card {
    background-color: #F8FAFC;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(44, 122, 123, 0.1);
}

.trust__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 122, 123, 0.1);
}

.trust__icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.trust__title {
    margin-bottom: 1rem;
    color: #0F172A;
}

.trust__description {
    color: #475569;
    line-height: 1.6;
}

.about__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about__text {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.8;
    background-color: #F8FAFC;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid #2C7A7B;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product__card {
    background-color: #FFFFFF;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(44, 122, 123, 0.1);
    transition: all 0.3s ease;
}

.product__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product__image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.product__title {
    margin-bottom: 1rem;
    color: #0F172A;
}

.product__description {
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product__btn {
    width: 100%;
}

/* Quality Section */
.quality {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.quality__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.quality__subtitle {
    margin-bottom: 1.5rem;
    color: #0F172A;
}

.quality__description {
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quality__list {
    list-style: none;
}

.quality__item {
    padding: 1rem 0;
    border-bottom: 1px solid #E2E8F0;
    color: #475569;
    line-height: 1.6;
}

.quality__item:last-child {
    border-bottom: none;
}

.quality__item strong {
    color: #2C7A7B;
}

.certificates__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.certificate__item {
    text-align: center;
}

.certificate__placeholder {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.certificate__name {
    font-weight: 500;
    color: #0F172A;
    font-size: 0.875rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
}

.faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background-color: #FFFFFF;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(44, 122, 123, 0.1);
    overflow: hidden;
}

.faq__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq__header:hover {
    background-color: #F8FAFC;
}

.faq__question {
    color: #0F172A;
    font-weight: 500;
}

.faq__icon {
    font-size: 1.5rem;
    color: #2C7A7B;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #F8FAFC;
}

.faq__answer {
    color: #475569;
    line-height: 1.6;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__item.active .faq__content {
    max-height: 200px;
    padding: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.contact__content {
    max-width: 600px;
    margin: 0 auto;
}

.contact__description {
    text-align: center;
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact__form {
    background-color: #F8FAFC;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(44, 122, 123, 0.1);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0F172A;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #CBD5E1;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #FFFFFF;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: #2C7A7B;
    box-shadow: 0 0 0 3px rgba(44, 122, 123, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__privacy {
    margin-bottom: 1.5rem;
}

.privacy__text {
    color: #64748B;
    font-size: 0.875rem;
    line-height: 1.5;
}

.form__submit {
    width: 100%;
    font-size: 1.125rem;
    padding: 1rem;
}

.success__message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.success__content {
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 400px;
    margin: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.success__content svg {
    margin-bottom: 1.5rem;
}

.success__title {
    margin-bottom: 1rem;
    color: #0F172A;
}

.success__text {
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #0F172A;
    color: #F8FAFC;
    padding: 3rem 0 1.5rem;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #334155;
}

.footer__links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer__link {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #2C7A7B;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.social__link:hover {
    transform: translateY(-2px);
}

.footer__bottom {
    text-align: center;
}

.footer__copyright {
    color: #64748B;
    font-size: 0.875rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal__content {
    background-color: #FFFFFF;
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #E2E8F0;
}

.modal__title {
    color: #0F172A;
}

.modal__close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748B;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal__close:hover {
    background-color: #F1F5F9;
    color: #0F172A;
}

.modal__body {
    padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Navigation */
    .nav__menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav__menu.show {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 3rem;
    }
    
    .nav__link {
        font-size: 1.5rem;
    }
    
    .nav__toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero */
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero__buttons {
        justify-content: center;
    }
    
    /* Trust Grid */
    .trust__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Products Grid */
    .products__grid {
        grid-template-columns: 1fr;
    }
    
    /* Quality */
    .quality__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Footer */
    .footer__content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer__links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact__form {
        padding: 1.5rem;
    }
    
    .certificates__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn--primary {
        border: 2px solid #000000;
    }
    
    .btn--outline {
        border-width: 3px;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 3px solid #2C7A7B;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .nav__toggle,
    .hero__buttons,
    .contact__form,
    .footer__social,
    .modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section__title {
        page-break-after: avoid;
    }
}
