/* Hero Section */
.solutions-hero {
    padding: 150px 5% 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.solutions-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.05), transparent 60%);
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.solutions-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.solutions-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    letter-spacing: -1px;
}

.solutions-hero h1 span {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solutions-hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

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

/* Product Showcase Section */
.products-section {
    padding: 100px 5%;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.product-showcase {
    margin-bottom: 150px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.product-showcase:nth-child(even) .product-content {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.product-showcase:nth-child(even) .product-info {
    direction: ltr;
}

.product-showcase:nth-child(even) .product-visual {
    direction: ltr;
}

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

.product-info {
    padding: 40px;
}

.product-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 25px;
    font-weight: 700;
}

.product-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-features {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 20px;
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 3px;
}

.feature-text span {
    color: var(--text-gray);
    font-size: 0.95rem;
}

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

.stat-box {
    background: rgba(30, 58, 95, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
    background: rgba(30, 58, 95, 0.3);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 5px;
}

.product-cta {
    display: flex;
    gap: 20px;
}

.btn-primary {
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    padding: 15px 35px;
    background: transparent;
    color: var(--accent-cyan);
    text-decoration: none;
    border: 2px solid var(--accent-cyan);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

/* Product Visualizations */
.product-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LaundryLoop Visualization */
.laundry-visual {
    /* position: relative;
    width: 400px;
    height: 400px;*/
	width:100%;
}
.laundry-visual img{
    width: 100%;
    height: auto;
} 

.washing-machine {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.8), rgba(0, 212, 255, 0.2));
    border: 3px solid var(--accent-cyan);
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.water-cycle {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.water-drop {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

/* GreyWater+ Visualization */
.greywater-visual {
    width:100%;
}
.greywater-visual img{
    width: 100%;
    height: auto;
}

.pipe-system {
    position: relative;
    width: 100%;
    height: 100%;
}

.pipe {
    position: absolute;
    background: linear-gradient(90deg, rgba(30, 58, 95, 0.5), rgba(0, 212, 255, 0.2));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
}

.pipe-horizontal {
    width: 200px;
    height: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pipe-vertical {
    width: 40px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.water-flow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
    animation: flow 2s linear infinite;
}

@keyframes flow {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

/* PoolSaver Visualization */
.pool-visual {
   /* position: relative;
    width: 400px;
    height: 400px;*/
	width: 100%;
}
.pool-visual img{
	width: 100%;
    height: auto;
}
.pool-container {
    width: 300px;
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 168, 204, 0.3), rgba(0, 212, 255, 0.5));
    border: 3px solid var(--accent-cyan);
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.pool-wave {
    position: absolute;
    width: 120%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    top: 30px;
    left: -10%;
    border-radius: 50%;
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(20px) translateY(-5px); }
}

.pool-bubble {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    bottom: 0;
    animation: bubble-up 4s infinite;
}

@keyframes bubble-up {
    from {
        bottom: 0;
        opacity: 1;
    }
    to {
        bottom: 100%;
        opacity: 0;
    }
}

/* Comparison Table */
.comparison-section {
    padding: 100px 5%;
    background: rgba(10, 22, 40, 0.5);
}

.comparison-table {
    max-width: 1200px;
    margin: 60px auto 0;
    background: rgba(30, 58, 95, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 168, 204, 0.1));
    padding: 25px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.table-header > div {
    font-weight: 600;
    text-align: center;
}

.table-header > div:first-child {
    text-align: left;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.table-row:hover {
    background: rgba(0, 212, 255, 0.05);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row > div {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-row > div:first-child {
    text-align: left;
    justify-content: flex-start;
    color: var(--text-gray);
}

.check {
    color: var(--accent-cyan);
    font-size: 20px;
}

/* ROI Calculator */
.calculator-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.3), rgba(10, 22, 40, 0.5));
}

.calculator-container {
    max-width: 900px;
    margin: 60px auto 0;
    background: rgba(30, 58, 95, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 25px;
    padding: 50px;
}

.calculator-form {
    display: grid;
    gap: 25px;
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.calc-group {
    display: flex;
    flex-direction: column;
}

.calc-group label {
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
}

.calc-group input,
.calc-group select {
    padding: 12px;
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 15px;
    transition: all 0.3s ease;
}

.calc-group input:focus,
.calc-group select:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.calculator-results {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    display: none;
}

.calculator-results.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

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

.result-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 5px;
}

.calc-button {
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.calc-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.3);
}

/* Contact CTA */
.contact-cta {
    padding: 100px 5%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), transparent);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 25px;
}

.cta-container p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 60px 5% 40px;
    background: rgba(10, 22, 40, 0.9);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-brand h3::before {
    content: '💧';
    margin-right: 10px;
}

.footer-brand p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-gray);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .product-content {
        grid-template-columns: 1fr;
    }
	
	#comparison-section-id{
		display: none;
	}
	
    .product-showcase:nth-child(even) .product-content {
        grid-template-columns: 1fr;
    }

    .product-stats {
        grid-template-columns: 1fr;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .table-row > div:first-child {
        text-align: center;
        justify-content: center;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .calc-row {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}
