/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --midnight-navy: #071D32;
    --ocean-blue: #123B52;
    --aqua-teal: #12C9C1;
    --fresh-mint: #62E5D4;
    --ice-white: #EAF7F8;
    --pure-white: #FFFFFF;
    --slate-text: #536779;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow: 0 8px 32px rgba(7, 29, 50, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--ice-white);
    color: var(--slate-text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

h1, h2, h3, h4 {
    color: var(--midnight-navy);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* =========================================
   2. UTILITIES & COMPONENTS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--aqua-teal), var(--fresh-mint));
    color: var(--midnight-navy);
    box-shadow: 0 4px 15px rgba(18, 201, 193, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(18, 201, 193, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--aqua-teal);
}

.btn-secondary:hover {
    background: var(--aqua-teal);
    color: var(--midnight-navy);
}

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

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--aqua-teal), var(--fresh-mint));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* =========================================
   3. NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(7, 29, 50, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pure-white);
}

.water-drop {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--ice-white);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--aqua-teal);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--pure-white);
    border-radius: 3px;
    transition: var(--transition);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--midnight-navy);
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(18, 201, 193, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(98, 229, 212, 0.1) 0%, transparent 50%);
    z-index: 1;
}

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

.hero-text h1 {
    color: var(--pure-white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text p {
    color: var(--ice-white);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

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

.trust-indicators span {
    color: var(--fresh-mint);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card {
    position: absolute;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--pure-white);
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}

.glass-card svg {
    width: 40px;
    height: 40px;
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: 5%;
    animation-delay: 3s;
}

.water-drop-decoration {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aqua-teal), var(--fresh-mint));
    opacity: 0.2;
    filter: blur(40px);
}

.drop-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 30%;
    animation: pulse 8s ease-in-out infinite;
}

.drop-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 20%;
    animation: pulse 6s ease-in-out infinite reverse;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down svg {
    width: 32px;
    height: 32px;
    stroke: var(--aqua-teal);
}

/* =========================================
   5. SERVICES SECTION
   ========================================= */
.services {
    padding: 6rem 0;
    background: var(--pure-white);
}

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

.service-card {
    background: var(--pure-white);
    border: 1px solid rgba(18, 201, 193, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--aqua-teal), var(--fresh-mint));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(7, 29, 50, 0.1);
    border-color: var(--aqua-teal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--ice-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-box svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    margin-bottom: 1.5rem;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--slate-text);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--aqua-teal);
    font-weight: bold;
}

.learn-more {
    color: var(--ocean-blue);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.learn-more:hover {
    color: var(--aqua-teal);
    gap: 0.5rem;
}

/* =========================================
   6. STATISTICS SECTION
   ========================================= */
.stats {
    padding: 5rem 0;
    background: var(--midnight-navy);
    color: var(--pure-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card h3 {
    color: var(--aqua-teal);
    font-size: 3rem;
    display: inline;
}

.stat-card span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--fresh-mint);
}

.stat-card p {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* =========================================
   7. PROCESS SECTION
   ========================================= */
.process {
    padding: 6rem 0;
    background: var(--ice-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--aqua-teal), var(--fresh-mint));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--midnight-navy);
    color: var(--aqua-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    border: 3px solid var(--aqua-teal);
    z-index: 2;
}

.timeline-content {
    background: var(--pure-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(7, 29, 50, 0.05);
    flex: 1;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--ocean-blue);
}

/* =========================================
   8. VISUAL RESULTS (CSS ONLY)
   ========================================= */
.visual-results {
    padding: 6rem 0;
    background: var(--pure-white);
}

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

.result-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--pure-white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-5px);
}

.css-art {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.art-1 {
    background: linear-gradient(135deg, var(--midnight-navy) 0%, var(--ocean-blue) 100%);
}

.art-1::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(18, 201, 193, 0.1) 10px,
        rgba(18, 201, 193, 0.1) 20px
    );
    top: -25%;
    left: -25%;
    animation: slide 20s linear infinite;
}

.art-2 {
    background: radial-gradient(circle at 30% 30%, var(--fresh-mint), var(--ocean-blue));
}

.art-2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2312C9C1' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.art-3 {
    background: conic-gradient(from 0deg at 50% 50%, var(--midnight-navy), var(--aqua-teal), var(--midnight-navy));
}

.result-info {
    padding: 1.5rem;
}

.result-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* =========================================
   9. ARTICLE SECTION
   ========================================= */
.article-section {
    padding: 6rem 0;
    background: var(--ice-white);
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.seo-content h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--midnight-navy);
}

.seo-content h2:first-child {
    margin-top: 0;
}

.seo-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--ocean-blue);
}

.seo-content p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--slate-text);
}

.seo-content a {
    color: var(--aqua-teal);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(18, 201, 193, 0.3);
    text-underline-offset: 3px;
}

.seo-content a:hover {
    color: var(--ocean-blue);
    text-decoration-color: var(--ocean-blue);
}

.faq-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--ice-white);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--aqua-teal);
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--midnight-navy);
}

.faq-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* =========================================
   10. CONTACT SECTION
   ========================================= */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--midnight-navy) 0%, var(--ocean-blue) 100%);
    color: var(--pure-white);
}

.contact .section-header h2,
.contact .section-header p {
    color: var(--pure-white);
}

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

.contact-card {
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(18, 201, 193, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-card h3 {
    color: var(--fresh-mint);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.contact-card p, .contact-card a {
    color: var(--ice-white);
    font-size: 1rem;
}

.contact-card a:hover {
    color: var(--aqua-teal);
}

.contact-cta {
    text-align: center;
}

/* =========================================
   11. FOOTER
   ========================================= */
.footer {
    background: #041220;
    color: var(--ice-white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    opacity: 0.7;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--aqua-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--aqua-teal);
}

/* =========================================
   12. BACK TO TOP & ANIMATIONS
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--aqua-teal);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(18, 201, 193, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--fresh-mint);
    transform: translateY(-3px);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* =========================================
   13. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.75rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--midnight-navy);
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .seo-content {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 1rem auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}