/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px; /* Keep some horizontal padding */
}

button {
    cursor: pointer;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

p {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Navigation */
.navbar {
    padding: 14px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px; /* Adjust based on actual logo size */
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

/* Hero Section */
.hero {
    height: 844px;
    background-color: #000;
    overflow: hidden;
    position: relative;
    color: #fff;
}

.hero .container {
    height: 100%;
}

.hero-content {
    display: block; /* Explicitly block, no flex */
    position: relative;
    height: 100%;
}

.hero-image {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    z-index: 5;
    width: auto;
    /* Removed flex */
}

.hero-image img {
    height: 95%; 
    width: auto;
    object-fit: contain;
    position: absolute;
    bottom: 0;
    left: 0;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.05)); 
    max-width: none; /* Fix for absolute positioning width collapse */
}

/* Adjust mobile responsive for new layout */
@media (max-width: 768px) {
    .hero-content {
        /* Override display: block from desktop */
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
    }
    
    .hero-image {
        position: relative;
        left: auto;
        top: auto;
        height: auto;
        width: 100%;
        margin: 0 0 40px 0;
        /* justify-content: center; - irrelevant without flex */
    }
    
    .hero-image img {
        height: auto;
        max-height: 400px;
        position: relative; /* Revert absolute */
        margin: 0 auto;
        left: auto;
        bottom: auto;
    }
    
    .hero-text {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        padding-right: 0;
        margin-right: 0; /* Reset margin on mobile */
        text-align: center;
        width: 100%;
        max-width: none;
    }
}

.hero-text {
    position: absolute;
    right: 235px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 600px;
    color: #fff;
    z-index: 10;
    margin-right: 0;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.banner-name-img {
    margin-bottom: 20px;
    max-width: 200px; /* Adjust as needed, safeguard against huge image */
    height: auto;
}

.hero-text h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #fff;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #444;
    margin-bottom: 30px;
}

.hero-text p {
    color: #bbb;
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
}

.hero-watermark {
    position: absolute;
    right: 0;
    top: 0; /* Align to top of section */
    height: 100%; /* Match section height */
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.hero-watermark img {
    height: 100%;
    width: auto;
    max-height: 100%;
    opacity: 1; 
    object-fit: cover; 
}

/* Feature Sections General */
.feature-section {
    padding: 149px 235px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 202px;
}

/* Chat Feature */
.chat-feature {
    background-color: #f9f9f9;
}

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

.feature-text-left {
    flex: 1;
    max-width: 600px;
}

.feature-text-left h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.feature-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    text-align: justify;
}

.feature-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    padding: 8px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    font-size: 12px;
    color: #0A0A0A;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.shortcut-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.shortcut-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.feature-desc-small {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

.feature-image-right {
    flex: 1;
    display: flex;
    justify-content: right;
}

.feature-image-right img {
    max-height: 650px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* Responsive adjustments for Chat Feature */
@media (max-width: 992px) {
    .feature-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .feature-text-left {
        max-width: 100%;
        margin: 0 auto;
    }

    .feature-shortcuts {
        justify-content: center;
    }

    .feature-desc {
        text-align: left; /* Or center if preferred */
    }
}

/* Smart Dialogue Depth Feature (Section 3) */
.dialogue-depth-feature {
    background-color: #fff;
}

.feature-image-left {
    flex: 1;
    display: flex;
    justify-content: left;
    position: relative;
}

.chat-overlap-container {
    position: relative;
    width: 600px; /* Adjust based on image sizes */
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-back {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-60%) scale(0.9);
    z-index: 1;
    max-height: 550px;
    opacity: 0.9;
}

.chat-front {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-40%);
    z-index: 2;
    max-height: 600px;
}

/* AI Photo Feature (Section 4) */
.ai-photo-feature {
    background-color: #f9f9f9;
}

.dual-phones {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dual-phones .phone-back {
    position: absolute;
    right: 286px;
    top: 40%;
    transform: translateY(-55%) scale(0.9);
    z-index: 1;
    max-height: 550px;
    opacity: 0.8;
}

.dual-phones .phone-front {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-45%);
    z-index: 2;
    max-height: 600px;
}

.feature-text-right {
    flex: 1;
    max-width: 600px;
}

.feature-text-right h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.feature-text-right p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.chat-suggestions {
    margin-bottom: 30px;
    width: fit-content;
}

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

/* AI Model Feature - Previous styles kept or adjusted below */
.model-feature {
    background-color: #f9f9f9;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.feature-visual > img {
    max-height: 600px;
    z-index: 2;
}

.floating-images img {
    position: absolute;
    width: 150px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1;
}

.floating-images img:nth-child(1) {
    top: 20%;
    left: 0;
}

.floating-images img:nth-child(2) {
    bottom: 20%;
    right: 0;
}

/* Tasks Feature (Section 5) */
.tasks-feature {
    background-color: #fff;
    text-align: center;
    padding: 100px 0;
}

.tasks-grid {
    display: flex; /* Changed from grid to flex to center the row */
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.task-card {
    flex: 1;
    max-width: 280px; /* Limit max width of each card */
    min-width: 200px;
}

.task-card img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.3s;
}

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

.task-card:nth-child(even) {
    margin-top: 40px;
}

.tools-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.tools-icons img {
    width: 60px;
    height: 60px;
}

/* Footer */
.footer {
    background-color: #0e0e0e; /* Dark background similar to image */
    color: #fff;
    padding: 100px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: flex-start; /* Align to left or based on image layout */
    align-items: flex-start;
    gap: 150px; /* Gap between "Contact Us" and details */
    margin-bottom: 120px;
    padding-left: 5%; /* Indent slightly */
}

.footer-left h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 500;
}

.footer-right h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 30px;
}

.contact-details p {
    color: #888;
    margin-bottom: 10px;
    font-size: 14px;
}

.copyright {
    border-top: none; /* Removed border based on clean look usually, or keep if preferred. Image doesn't show border clearly but let's keep it minimal */
    padding-top: 20px;
    text-align: center;
}

.copyright p {
    color: #555;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1440px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        padding-left: 0;
        text-align: left;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    /* .hero-text handled above inside other media query block */
    
    .hero-watermark {
        display: none; /* Hide watermark on mobile to avoid clutter */
    }

    /* Responsive for Feature Container */
    .feature-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .feature-text-left {
        max-width: 100%;
        margin: 0 auto;
    }

    .feature-shortcuts {
        justify-content: center;
    }

    .feature-row {
        flex-direction: column;
    }
    
    .chat-demo img {
        position: relative;
        transform: none !important;
        left: auto !important;
        margin-bottom: 20px;
        max-width: 80%;
    }
    
    .chat-demo {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    /* Dialogue Depth Feature Responsive */
    .chat-overlap-container {
        width: 100%;
        height: 400px;
    }

    .chat-back {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        max-height: 350px;
        margin-bottom: -200px;
        z-index: 1;
        opacity: 0.6;
    }

    .chat-front {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        max-height: 380px;
        z-index: 2;
    }

    .chat-suggestions {
        width: 100%;
    }

    /* Tasks Feature Responsive */
    .tasks-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .task-card {
        width: 100%;
        max-width: 350px; /* Wider cards on mobile stack */
    }

    .task-card:nth-child(even) {
        margin-top: 0; /* Reset staggered layout on mobile */
    }
}
