/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1500px; /* Increased width for better layout */
    margin: 0 auto;
    padding: 0 16px; /* px-4 equivalent */
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 40;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0; /* py-4 equivalent */
}

.logo-img {
    height: 48px; /* h-12 equivalent */
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px; /* space-x-6 equivalent */
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280; /* text-gray-600 */
    font-size: 14px; /* text-sm */
}

.phone-info i {
    color: #019fc6;
    width: 16px; /* h-4 w-4 equivalent */
    height: 16px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #019fc6, #00997b);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00997b, #019fc6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 159, 198, 0.4);
}

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

.btn-outline:hover {
    background: #019fc6;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    border-radius: 12px;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 128px 0; /* py-20 lg:py-32 equivalent */
    overflow: hidden;
    background: linear-gradient(to bottom right, #f8fafc, #f1f5f9); /* from-slate-50 to-gray-100 */
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 159, 198, 0.08), rgba(0, 153, 123, 0.08));
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr; /* lg:grid-cols-7 equivalent */
    gap: 32px; /* gap-8 equivalent */
    align-items: center;
}

.hero-product {
    display: none;
}

.hero-center {
    text-align: center;
    padding: 0 24px; /* px-6 equivalent */
}

.hero-title {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 24px; /* mb-6 */
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem; /* md:text-6xl */
    }
}

.highlight {
    color: #019fc6; /* companyInfo.colors.primary */
    display: block;
}

.hero-description {
    font-size: 1.25rem; /* text-xl */
    color: #6b7280; /* text-gray-600 */
    margin-bottom: 32px; /* mb-8 */
    max-width: 672px; /* max-w-2xl equivalent */
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column; /* flex-col */
    gap: 16px; /* gap-4 */
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row; /* sm:flex-row */
    }
}

.product-card {
    background: rgba(255, 255, 255, 0.6); /* bg-white/60 */
    backdrop-filter: blur(4px); /* backdrop-blur-sm */
    border-radius: 24px; /* rounded-3xl */
    padding: 32px; /* p-8 */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-xl */
    text-align: center;
    max-width: 384px; /* max-w-sm */
    margin: 0 auto;
}

.product-image {
    width: 100%;
    max-width: 320px; /* max-w-xs */
    height: auto;
    object-fit: contain;
    margin: 0 auto 16px; /* mx-auto mt-4 equivalent */
}

.product-info h3 {
    font-size: 1.125rem; /* text-lg */
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 8px;
}

.product-info p {
    color: #6b7280; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
}

/* Sections */
.section-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    text-align: center;
    color: #111827; /* text-gray-900 */
    margin-bottom: 48px; /* mb-12 */
}

/* Features Section */
.features {
    padding: 64px 0; /* py-16 */
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns for 6 features */
    gap: 16px; /* gap-4 for smaller spacing */
}

.feature-item {
    text-align: center;
    padding: 20px; /* p-5 for better spacing with larger icons */
    border-radius: 12px; /* rounded-xl */
    background: #f9fafb; /* bg-gray-50 */
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #f3f4f6; /* hover:bg-gray-100 */
    transform: translateY(-4px);
}

.feature-icon {
    width: 40px; /* h-10 w-10 */
    height: 40px;
    border-radius: 50%;
    background: rgba(1, 159, 198, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px; /* mb-4 */
    color: #019fc6;
    font-size: 20px;
}

.feature-item p {
    color: #6b7280; /* text-gray-700 */
    font-weight: 500; /* font-medium */
    font-size: 0.875rem; /* text-sm for smaller text */
    line-height: 1.4;
}

/* Products Section */
.products {
    padding: 64px 0; /* py-16 */
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for 3 products */
    gap: 20px; /* gap-5 for smaller spacing */
}

.product-card {
    background: white;
    border: 1px solid #e5e7eb; /* border border-gray-200 */
    border-radius: 16px; /* rounded-2xl */
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* hover:shadow-xl */
}

.product-image-container {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f9fafb, #f3f4f6); /* from-gray-50 to-gray-100 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* p-5 for smaller padding */
}

.product-content {
    padding: 20px; /* p-5 for smaller padding */
}

.product-badge {
    display: inline-block;
    padding: 4px 12px;
    background: white; /* bg-white */
    color: #019fc6;
    border: 2px solid #019fc6; /* border-2 */
    border-radius: 20px;
    font-size: 0.875rem; /* text-sm */
    font-weight: 600;
    margin-bottom: 8px; /* mb-2 */
}

.product-content h3 {
    font-size: 1.25rem; /* text-xl */
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 6px; /* mb-1.5 */
}

.product-content p {
    color: #6b7280; /* text-gray-600 */
    margin-bottom: 12px; /* mb-3 */
}

.product-features {
    list-style: none;
    margin-bottom: 16px; /* mb-4 */
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.875rem; /* text-sm */
    color: #6b7280; /* text-gray-600 */
}

.product-features i {
    color: #84bf27; /* companyInfo.colors.accent */
    margin-top: 2px;
}

.product-price {
    margin-bottom: 16px; /* mb-4 */
}

.current-price {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
}

.original-price {
    font-size: 1rem; /* text-sm */
    color: #9ca3af; /* text-gray-500 */
    text-decoration: line-through;
    margin-left: 8px;
}

/* Why Choose Us */
.why-choose-us {
    padding: 64px 0; /* py-16 */
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for 4 items */
    gap: 16px; /* gap-4 for smaller spacing */
}

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

.why-icon {
    width: 64px; /* w-16 h-16 */
    height: 64px;
    border-radius: 50%;
    background: rgba(1, 159, 198, 0.1); /* primary color with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px; /* mx-auto mb-4 */
    color: #019fc6;
    font-size: 24px; /* h-8 w-8 */
}

.why-item h3 {
    font-size: 1.125rem; /* font-bold */
    font-weight: 700;
    color: #111827; /* text-gray-900 */
    margin-bottom: 8px; /* mb-2 */
}

.why-item p {
    color: #6b7280; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
}

/* Work Process */
.work-process {
    padding: 64px 0; /* py-16 */
    background: linear-gradient(135deg, rgba(132, 191, 39, 0.08), rgba(1, 159, 198, 0.08)); /* accent and primary colors */
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px; /* gap-8 */
}

.process-item {
    text-align: center;
    position: relative;
}

.process-number {
    width: 48px; /* w-12 h-12 */
    height: 48px;
    border-radius: 50%;
    background: #019fc6; /* primary color */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem; /* text-lg */
    font-weight: 700; /* font-bold */
    margin: 0 auto 16px; /* mx-auto mb-4 */
}

.process-item h3 {
    font-size: 1.125rem; /* font-bold */
    font-weight: 700;
    color: #111827; /* text-gray-900 */
    margin-bottom: 8px; /* mb-2 */
}

.process-item p {
    color: #6b7280; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
}

/* Benefits */
.benefits {
    padding: 64px 0; /* py-16 */
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns for 6 benefits */
    gap: 16px; /* gap-4 for smaller spacing */
}

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

.benefit-icon {
    width: 64px; /* w-16 h-16 */
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 153, 123, 0.1); /* secondary color with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px; /* mx-auto mb-4 */
    color: #00997b; /* secondary color */
    font-size: 24px; /* h-8 w-8 */
}

.benefit-item h3 {
    font-size: 1.125rem; /* font-bold */
    font-weight: 700;
    color: #111827; /* text-gray-900 */
    margin-bottom: 8px; /* mb-2 */
}

.benefit-item p {
    color: #6b7280; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
}

/* Testimonials */
.testimonials {
    padding: 64px 0; /* py-16 */
    background: linear-gradient(135deg, rgba(1, 159, 198, 0.08), rgba(132, 191, 39, 0.08)); /* primary and accent colors */
}

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

.testimonial-card {
    background: white;
    border-radius: 16px; /* rounded-2xl */
    padding: 24px; /* p-6 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); /* shadow-lg */
    border: none; /* border-0 */
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #84bf27;
}

.testimonial-text {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-author {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

.author-name {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.author-location {
    font-size: 0.875rem;
    color: #6b7280;
}

/* FAQ */
.faq {
    padding: 64px 0; /* py-16 */
    background: white;
}

.faq-list {
    max-width: 896px; /* max-w-4xl */
    margin: 0 auto;
}

.faq-item {
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1f2937;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-question i {
    color: #019fc6;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 64px 0; /* py-16 */
    background: linear-gradient(135deg, #019fc6, #00997b); /* primary to secondary gradient */
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* lg:grid-cols-2 */
    gap: 48px; /* gap-12 */
    align-items: start;
}

.contact-info h2 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    margin-bottom: 24px; /* mb-6 */
}

.contact-info p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item i {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    width: 20px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

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

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

.contact-form .form-group label {
    color: white;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #019fc6;
    box-shadow: 0 0 0 3px rgba(1, 159, 198, 0.1);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: white;
    border-top: 1px solid #e5e7eb; /* border-t border-gray-200 */
    padding: 32px 0; /* py-8 */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px; /* space-x-4 */
}

.footer-logo .logo-img {
    height: 40px; /* h-10 */
    width: auto;
}

.company-name {
    font-size: 1.25rem; /* text-xl */
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
}

.company-subtitle {
    font-size: 0.875rem; /* text-sm */
    color: #6b7280; /* text-gray-600 */
}

.footer-text {
    text-align: right;
    color: #6b7280; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
    line-height: 1.5;
}

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

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

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

.close:hover {
    color: #6b7280;
}

.modal form {
    padding: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px; /* px-4 equivalent */
    }

    .header-actions {
        gap: 12px;
    }

    .phone-info {
        display: none; /* hidden md:flex */
    }

    .hero {
        padding: 60px 0 80px 0; /* py-20 equivalent */
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-product {
        display: block; /* Show products on mobile */
    }

    .hero-title {
        font-size: 2rem !important; /* text-4xl mobile */
    }

    .hero-description {
        font-size: 1.125rem; /* text-lg mobile */
    }

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

    .section-title {
        font-size: 1.5rem !important; /* text-3xl mobile */
    }

    .process-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-text {
        text-align: center;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

@media (min-width: 769px) {
    .hero-product {
        display: block; /* Show products on desktop */
    }
}

/* Tablet breakpoint for benefits, why choose us, features, and products */
@media (max-width: 1024px) and (min-width: 769px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet */
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet */
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

/* Mobile breakpoint for benefits, why choose us, features, and products */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    
    .why-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    
    .features-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    
    .products-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-8 {
    margin-bottom: 32px;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #019fc6;
    outline-offset: 2px;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
