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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.8rem;
}

.logo__text {
    color: #1F3B56;
    position: relative;
}

.logo__formal {
    color: #8B9DC3;
    font-style: italic;
    position: relative;
}

.logo__formal::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #1F3B56, #8B9DC3);
    border-radius: 1px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(31, 59, 86, 0.1);
}

.header.scroll-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(31, 59, 86, 0.1);
}

.nav {
    height: 80px;
    display: flex;
    justify-content: between;
    align-items: center;
}

.nav__logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav__tagline {
    font-size: 0.7rem;
    color: #8B9DC3;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav__menu.show-menu {
    top: 0;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    text-align: center;
}

.nav__link {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1F3B56;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav__link:hover,
.nav__link.active-link {
    color: #8B9DC3;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #8B9DC3;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 80%;
}

.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: #1F3B56;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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);
}

.nav__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: #1F3B56;
    cursor: pointer;
    z-index: 1002;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: linear-gradient(135deg, #1F3B56, #2A4A65);
    color: white;
    box-shadow: 0 4px 15px rgba(31, 59, 86, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 59, 86, 0.4);
}

.btn--outline {
    background: transparent;
    color: #1F3B56;
    border: 2px solid #1F3B56;
}

.btn--outline:hover {
    background: #1F3B56;
    color: white;
    transform: translateY(-2px);
}

.btn--product {
    background: linear-gradient(135deg, #8B9DC3, #A0B4D6);
    color: white;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
}

.btn--product:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 157, 195, 0.4);
}

.btn--large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn__icon {
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" opacity="0.3"/></svg>') repeat;
    opacity: 0.5;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__content {
    animation: fadeInUp 1s ease;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1F3B56;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__title-accent {
    color: #8B9DC3;
    position: relative;
}

.hero__title-accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #8B9DC3, #A0B4D6);
    border-radius: 2px;
}

.hero__description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero__buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.hero__img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(31, 59, 86, 0.2);
    transition: transform 0.3s ease;
}

.hero__img:hover {
    transform: scale(1.05);
}

/* Section Styles */
.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1F3B56;
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: white;
}

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

.product__card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(31, 59, 86, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(31, 59, 86, 0.15);
}

.product__image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product__card:hover .product__img {
    transform: scale(1.1);
}

.product__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 59, 86, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product__card:hover .product__overlay {
    opacity: 1;
}

.product__btn {
    background: white;
    color: #1F3B56;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product__btn:hover {
    transform: scale(1.05);
}

.product__content {
    padding: 2rem;
    text-align: center;
}

.product__name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1F3B56;
    margin-bottom: 1rem;
}

.product__price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product__price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 1rem;
}

.product__price-new {
    color: #1F3B56;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.feature__card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(31, 59, 86, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 157, 195, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature__card:hover::before {
    left: 100%;
}

.feature__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(31, 59, 86, 0.15);
}

.feature__icon {
    margin-bottom: 2rem;
}

.feature__icon-bg {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B9DC3, #A0B4D6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(139, 157, 195, 0.3);
}

.feature__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1F3B56;
    margin-bottom: 1rem;
}

.feature__description {
    color: #666;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: white;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial__card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(31, 59, 86, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(31, 59, 86, 0.15);
}

.testimonial__rating {
    margin-bottom: 1.5rem;
}

.star {
    color: #FFD700;
    font-size: 1.2rem;
    margin-right: 0.2rem;
}

.testimonial__text {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.testimonial__author-info h4 {
    color: #1F3B56;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.testimonial__job {
    color: #8B9DC3;
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1F3B56 0%, #2A4A65 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
}

.cta__content {
    position: relative;
    z-index: 2;
}

.cta__title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta__brand {
    color: #A0B4D6;
    position: relative;
}

.cta__description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    opacity: 0.9;
}

.cta__buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta .btn--primary {
    background: white;
    color: #1F3B56;
}

.cta .btn--primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
}

.cta .btn--outline {
    border-color: white;
    color: white;
}

.cta .btn--outline:hover {
    background: white;
    color: #1F3B56;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__section h3 {
    color: #A0B4D6;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer__logo .logo {
    margin-bottom: 1rem;
}

.footer__logo .logo__text,
.footer__logo .logo__formal {
    color: white;
}

.footer__tagline {
    color: #A0B4D6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer__description {
    color: #ccc;
    line-height: 1.7;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.footer__contact-icon {
    font-size: 1.2rem;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.8rem;
}

.footer__link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #A0B4D6;
}

.footer__social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__social-link:hover {
    color: #A0B4D6;
}

.footer__social-icon {
    font-size: 1.2rem;
}

.footer__bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.footer__copyright {
    color: #999;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* AOS Animation Classes */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav__menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        backdrop-filter: none;
    }

    .nav__list {
        flex-direction: row;
        gap: 2.5rem;
    }

    .nav__link {
        font-size: 1rem;
    }

    .nav__toggle,
    .nav__close {
        display: none;
    }

    .nav {
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__buttons {
        justify-content: center;
    }

    .section__title {
        font-size: 2rem;
    }

    .products__grid {
        grid-template-columns: 1fr;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .cta__title {
        font-size: 2rem;
    }

    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .cta__title {
        font-size: 1.8rem;
    }

    .logo {
        font-size: 1.5rem;
    }
}