:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-gradient: linear-gradient(90deg, #4ade80 0%, #06b6d4 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(74, 222, 128, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(74, 222, 128, 0.2);
    }
}

/* Utility Classes */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-2 {
    background: linear-gradient(90deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 100;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 2rem;
}

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

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    color: #fff;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.cta-button-small {
    background: #fff;
    color: #000 !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600 !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 1rem;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.cta-button {
    background: var(--text-primary);
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: scale(1.05);
}

.secondary-button {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Phone Mockup */
.hero-visual {
    perspective: 1000px;
}

.phone-mockup {
    width: 320px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.phone-mockup.floating {
    animation: float 6s ease-in-out infinite;
}

.screen {
    width: 100%;
    height: 100%;
    background: #111;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 40px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.chat-bubble {
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.4;
    position: relative;
}

.received {
    background: #222;
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.sent {
    background: #005c4b;
    /* WhatsApp Greenish */
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.data-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.value.critical {
    color: #ff6b6b;
    font-weight: bold;
}

/* Features Grid */
/* Scrollytelling Layout */
.scrolly-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.scrolly-container {
    display: flex;
    gap: 4rem;
    position: relative;
}

/* Left: Scrollable Text */
.scrolly-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 80vh;
    padding-top: 20vh;
    padding-bottom: 20vh;
}

.step {
    min-height: 40vh;
    display: flex;
    align-items: center;
    opacity: 0.3;
    transition: opacity 0.5s;
}

.step.active {
    opacity: 1;
}

.step-content {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #4ade80;
}

/* Right: Sticky Visual */
.scrolly-visual {
    flex: 1;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-wrapper {
    position: relative;
    width: 320px;
}

/* New Visual Styles inside Phone */
.map-placeholder {
    width: 100%;
    height: 150px;
    background: #1a1a1a;
    border-radius: 8px;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
}

.heat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    filter: blur(20px);
}

.heat-good {
    background: radial-gradient(circle at 30% 30%, #4ade80, transparent 70%);
}

.heat-stress {
    background: radial-gradient(circle at 70% 60%, #ef4444, transparent 60%);
}

.heat-water {
    background: radial-gradient(circle at 50% 50%, #3b82f6, transparent 80%);
}

.poi-marker {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: pulse-marker 2s infinite;
}

@keyframes pulse-marker {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1.5);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Upload UI */
.upload-ui {
    background: #2a2a2a;
    border: 2px dashed #555;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 10px;
    color: #888;
}

.upload-btn {
    background: #4ade80;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .scrolly-container {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .scrolly-visual {
        position: relative;
        height: auto;
        padding: 2rem 0;
        z-index: 10;
    }
    
    .sticky-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .phone-mockup {
        width: 300px;
        height: 550px;
        max-width: 100%;
    }

    .scrolly-text {
        gap: 20vh;
        padding: 0;
    }

    .step {
        opacity: 1;
        min-height: auto;
        margin-bottom: 2rem;
    }
    
    .step-content {
        background: rgba(0, 0, 0, 0.6);
        padding: 1.5rem;
    }
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
}

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

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Value Prop */
.value-prop {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-split {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.text-side {
    flex: 1;
}

.text-side h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.check {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    margin-top: 4px;
}

.benefit-list strong {
    display: block;
    color: #fff;
    margin-bottom: 0.2rem;
}

.benefit-list p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.heatmap-abstract {
    width: 400px;
    height: 400px;
    position: relative;
    border-radius: 40px;
    background: #111;
    overflow: hidden;
    filter: blur(10px);
}

.heat-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
}

.b1 {
    width: 300px;
    height: 300px;
    background: #c0392b;
    top: -50px;
    left: -50px;
}

.b2 {
    width: 250px;
    height: 250px;
    background: #f39c12;
    bottom: 0;
    right: 0;
}

.b3 {
    width: 150px;
    height: 150px;
    background: #27ae60;
    top: 100px;
    left: 100px;
}

/* About Us */
.about {
    padding: 8rem 2rem;
    background: linear-gradient(0deg, #050505 0%, #000 100%);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.about h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.highlight {
    background: linear-gradient(90deg, #ff00cc 0%, #333399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-grid {
    display: flex;
    justify-content: space-around;
    margin: 3rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stat .label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mission-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.col h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.col a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .content-split {
        flex-direction: column-reverse;
    }

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

    .about-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    cursor: pointer;
    font-family: var(--font-stack);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.lang-btn:hover {
    color: #fff;
    border-color: #fff;
}

.lang-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 140px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    z-index: 101;
    overflow: hidden;
    margin-top: 5px;
}

.lang-content a {
    color: var(--text-secondary);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.lang-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lang-dropdown:hover .lang-content,
.lang-dropdown.active .lang-content {
    display: block;
    z-index: 1001;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .lang-btn {
        padding: 0.3rem 0.6rem;
    }
}