/* Global Styles */
:root {
    --primary-color: #007AFF;
    /* Standard Apple Blue (for light mode) */
    --primary-light: #409CFF;
    /* Vibrant Sky Blue (for dark mode contrast) */
    --secondary-color: #34C759;
    /* Sea Green */
    --text-color: #1D1D1F;
    /* Dark Grey for Light Mode */
    --text-light: #86868B;
    /* Light Grey for Light Mode */
    --text-white: #F5F5F7;
    /* White text */
    --text-grey-dark: #A1A1A6;
    /* Readable grey for Dark Mode */

    --background-color: #FFFFFF;
    --background-alt: #F5F5F7;

    --bg-dark: #000000;
    /* Deep Black */
    --bg-dark-alt: #151516;
    /* Rich Dark Grey */
    --card-dark: #1C1C1E;
    /* Apple System Grey 6 */

    --border-color: #D2D2D7;
    --border-dark: rgba(255, 255, 255, 0.15);
    /* Subtle border for dark mode */

    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 980px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.2);
}

.btn-primary:hover {
    background-color: #0062cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 122, 255, 0.1);
}

.btn-secondary-light {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary-light:hover {
    background-color: white;
    color: black;
    border-color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background-color: #0062cc;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Improved Gradient Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from transparent top to dark bottom for text readability */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 60px;
    /* Offset for visual balance */
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    color: white;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    /* Enhanced shadow */
}

.hero-subtitle {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-cta-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Product Showcase Section (Light with Image Background) */
.product-showcase {
    padding: 140px 0;
    position: relative;
    background-image: url('../images/IMG_WhiteBlurLight.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.product-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    /* Light overlay */
    z-index: 0;
}

.product-showcase .container {
    position: relative;
    z-index: 1;
}

.showcase-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.showcase-text {
    flex: 1;
}

.showcase-text h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.showcase-text h2 span {
    color: var(--secondary-color);
}

.showcase-text p {
    font-size: 1.4rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
}

.showcase-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.showcase-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sustainable-img {
    max-width: 600px;
    /* Optimal size for the new image */
    margin: 0 auto;
    display: block;
}

.showcase-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

/* Features Section (Dark with Image Background) */
.features {
    padding: 140px 0;
    position: relative;
    background-image: url('../images/IMG_DarkOcean.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Heavy overlay for readability */
    z-index: 0;
}

.features .container {
    position: relative;
    z-index: 1;
}

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

.feature-card {
    background: rgba(28, 28, 30, 0.7);
    /* Translucent Glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid var(--border-dark);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(45, 45, 47, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    color: var(--primary-light);
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(64, 156, 255, 0.3));
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--text-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.feature-card p {
    color: var(--text-grey-dark);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* How It Works Section (Light with Image Background) */
.how-it-works {
    padding: 140px 0;
    position: relative;
    background-image: url('../images/IMG_PlainWhite.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 0;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 80px;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.step-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 30px;
    box-shadow: 0 15px 30px rgba(0, 122, 255, 0.3);
}

.step-connector {
    flex: 1;
    height: 2px;
    background-color: var(--border-color);
    margin-top: 40px;
}

.step-item h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-color);
}

.step-item p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Technology Section (Dark with Image Background) */
.technology {
    padding: 160px 0;
    position: relative;
    background-image: url('../images/IMG_SateliteSeaSide.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.technology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

.technology .container {
    position: relative;
    z-index: 1;
}

.tech-content {
    max-width: 900px;
    margin: 0 auto;
}

.tech-content h2 {
    font-size: 4rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #ffffff 0%, #8e8e93 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.03em;
    /* Fallback for text shadow since background-clip hides it */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.tech-content p {
    font-size: 1.6rem;
    color: #d1d1d6;
    /* Lighter than before for better contrast against image */
    font-weight: 400;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Social Proof (Light) */
.social-proof {
    padding: 80px 0;
    background-color: #f5f5f7;
    border-bottom: 1px solid var(--border-color);
}

.badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.badge {
    background: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* About Section (Dark with Image Background) */
.about {
    padding: 140px 0;
    position: relative;
    background-image: url('../images/IMG_DarkSky.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: white;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-content p {
    font-size: 1.4rem;
    color: var(--text-grey-dark);
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.team-member {
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-8px);
}

.member-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
    /* Subtle border */
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-avatar img {
    transform: scale(1.1);
}

.team-member h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.team-member p {
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: 0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Contact Section (Light with Image Background) */
.contact {
    padding: 140px 0;
    position: relative;
    background-image: url('../images/IMG_GreenWater.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    /* Heavy white overlay */
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-wrapper h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-wrapper p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-email:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 122, 255, 0.15);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-family: var(--font-family);
    font-size: 1.1rem;
    transition: var(--transition);
    background-color: rgba(245, 245, 247, 0.8);
    /* Slightly translucent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}

/* Supported By Section */
.supported-by {
    padding: 60px 0 40px;
    /* Adjusted padding to flow into footer */
    background-color: #f5f5f7;
    /* Light background */
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.supported-by p {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    font-weight: 600;
}

.supported-by img {
    height: 60px;
    width: auto;
    margin: 0 auto;
    opacity: 0.8;
    transition: var(--transition);
    filter: grayscale(100%);
    /* Optional: make it blend better, remove on hover */
}

.supported-by img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Footer (Light Theme) */
.footer {
    padding: 60px 0 100px;
    background-color: #f5f5f7;
    /* Matches Supported By */
    border-top: none;
    /* Seamless transition */
    color: var(--text-light);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
    /* Dark text for light bg */
    letter-spacing: -0.01em;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 1rem;
    transition: color 0.2s ease;
    font-weight: 500;
}

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

.copyright {
    color: #86868b;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .showcase-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .steps-container {
        flex-direction: column;
        gap: 60px;
    }

    .step-connector {
        display: none;
    }

    .tech-content h2 {
        font-size: 2.8rem;
    }

    .about-content h2 {
        font-size: 2.8rem;
    }
}