:root {
    --primary: #174869;
    --primary-light: #1c5a82;
    --primary-dark: #0f3a54;
    --secondary: #69aecd;
    --secondary-light: #8fc4da;
    --accent: #2DC653;
    --dark: #0a2540;
    --light: #e8f4f8;
    --white: #ffffff;
    --gray-100: #f0f7fa;
    --gray-200: #d6e8ef;
    --gray-600: #5a7d8f;
    --gradient-primary: linear-gradient(135deg, #0a2540 0%, #174869 50%, #1c5a82 100%);
    --gradient-hero: linear-gradient(180deg, #0a2540 0%, #174869 60%, #69aecd 100%);
    --gradient-card: linear-gradient(145deg, #174869 0%, #1c5a82 100%);
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.1);
    --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.15);
    --shadow-lg: 0 8px 32px rgba(10, 37, 64, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
    background: var(--white);
}

/* ===== NAVBAR ===== */
.navbar-pool {
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--secondary);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.navbar-pool .navbar-brand {
    color: var(--white);
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-pool .navbar-brand img {
    height: 40px;
}

.navbar-pool .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-pool .nav-link:hover,
.navbar-pool .nav-link.active {
    color: var(--white) !important;
    background: rgba(105, 174, 205, 0.2);
}

/* ===== HERO ===== */
.hero-section {
    background: var(--gradient-hero);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,80 720,0 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn-pool-primary {
    background: var(--gradient-card);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-pool-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    background: linear-gradient(135deg, #1c5a82 0%, #245171 100%);
}

.btn-pool-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--secondary);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-pool-outline:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-pool-accent {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pool-accent:hover {
    background: #25a847;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== SECTIONS ===== */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.section-dark {
    background: var(--gradient-primary);
    color: var(--white);
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.section-light {
    background: var(--gray-100);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.service-card .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h5 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-card .feature-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
}

.feature-card .feature-label {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card .product-image {
    height: 200px;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.product-card .product-body {
    padding: 1.25rem;
}

.product-card .product-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.product-card .product-name {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card .quote {
    color: #555;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-card .author {
    color: var(--primary);
    font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
}

.footer h5 {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--secondary);
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

/* ===== WATER RIPPLE EFFECT ===== */
.ripple-hover {
    position: relative;
    overflow: hidden;
}

.ripple-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(105, 174, 205, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.ripple-hover:hover::before {
    width: 300%;
    height: 300%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-padding { padding: 3rem 0; }
    .section-title { font-size: 1.8rem; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }