/* Import the Gowun Batang font */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Global Styles */

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

body {
    font-family: 'PT Serif', serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

/* Update heading styles to use the new font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'PT Serif', serif;
    font-weight: 700;
}

/* Update container styles */
.container {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;   
    padding: 0 2rem;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

header nav {
    width: 100%;
    margin: auto;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: row;  /* Changed from row to column */
    align-items: center;
    position: relative;  /* Added for menu toggle positioning */
    justify-content: space-between;
}


.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 80px;
    height: 43px;
}

/* Remove the ul styles since we no longer have the menu */
nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

.sign-up {
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
}

/* Hero Section Styles */

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 auto ;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0rem auto;
    padding-top: 2rem;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.hero h1,
.hero-subtitle,
.hero-content p {
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;

}

.hero-content p {
    margin-top: 0rem;

}

/* Fix text animation container */
.text-animation {
    position: relative;
    height: 50px; /* Increased height */
    width: 100%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    display: inline-block;
    justify-content: center;
}



.text-animation span {
    white-space: normal;
    position: absolute;
    width: 100%;
    font-size: 2rem; 
    line-height: 1.2;
    padding: 0rem;
    background: linear-gradient(90deg,  #190063 , #2b2b2b, #20007e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    text-align: center;
    font-weight: 900; /* Increased from 700 */
    letter-spacing: 0.4px; /* Added for better readability with bold text */
    text-shadow: 0 0 1px rgba(51, 0, 255, 0.1); /* Added for extra emphasis */
    animation: fadeInOut 9s infinite;
    display: block;
    color: #3300FF;
}

#submitMessage {
    font-size: 0.8em;
    margin-top: 4px;
    text-align: left;
    min-height: 20px;
    width: 100%;
}

/* Animation timing */
.text-animation span:nth-child(1) {
    animation-delay: -6s;
}

.text-animation span:nth-child(2) {
    animation-delay: -3s;
}

.text-animation span:nth-child(3) {
    animation-delay: 0s;
}


@keyframes fadeInOut {
    0%, 27% {
        opacity: 0;
    }
    33%, 60% {
        opacity: 1;
    }
    66%, 100% {
        opacity: 0;
    }
}

/* Subtitle and paragraph styles */
.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #666;
}


/* CTA Section Styles */
.cta {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.cta > div {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta .cta-button {
    background-color: #fff;
    color: #007bff;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}


/* Text Animation Styles */



/* Update hero content styles */
.hero-content h1 {
    display: flex;
    gap: 1px;
    flex-wrap: nowrap; /* Changed from wrap to nowrap */
    align-items: baseline;
    white-space: nowrap; /* Prevent text wrapping */
}

/* Optional: Add a color to make the animated text stand out */


.early-access-form {
    display: flex;
    flex-direction: column;
    margin: 2rem auto 0;
    max-width: 480px;
    gap: 8px;
}

.input-row {
    display: flex;
    gap: 12px;
    width: 100%;
    flex-direction: row
}

.email-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
}

.email-input.error {
    border-color: #ff0000;  /* Red border for error state */
}

.email-input:focus {
    border-color: #3300FF;
}

.email-input::placeholder {
    color: #999;
}

.early-access-button {
    white-space: nowrap;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 5px;
    background-color: #3300FF;
    color: white;
    cursor: pointer;
}

.early-access-button:hover {
    background-color: #3300FF;
}

.error-message {
    color: #ff0000;  /* Red color for error text */
    font-size: 0.9rem;
    margin-top: 4px;
}


.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.15rem; /* Reduced from 0.25rem */
    color: #333;
}

.hero-content p {
    margin-bottom: 0.15rem; /* Reduced from 0.25rem */
    font-size: 1.25rem;
    color: #120064;
    opacity: 0.6;
}

/* Market Track Section */
.market-track {
    background: linear-gradient(45deg, #00C6FF, #0072FF, #FF0099, #7700FF);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    padding: 1rem 0;
    margin: 0rem;
    text-align: center;
    color: white;
    background: #fff; /* Changed from #f8f9fa */
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.market-track h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    padding: 0rem;
    margin: 0rem;
}

.market-track .subtitle {
    font-size: 1.5rem;
    line-height: 1.4;
    opacity: 0.9;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.download-button, .demo-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.download-button {
    background-color: white;
    color: white;
}

.demo-button {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.demo-duration {
    font-size: 0.875rem;
    opacity: 0.8;
}

.download-button:hover, .demo-button:hover {
    transform: translateY(-2px);
}

.download-button img, .demo-button img {
    width: 20px;
    height: 20px;
}

/* Market Track Section - Simple Card Design */
.market-track {
    background: #fff; /* Changed from #f8f9fa */
}

.market-card {
    background-color: rgba(30, 0, 255, 0.06);
    border-radius: 24px;
    padding: 2rem 0rem;
    text-align: center;
    border: 1px solid #BFE3FF;
    width: 80%;
    box-shadow: none;
    max-width: 1200px;
    margin: 1rem auto;
}

.market-card h2 {
    font-size: 2rem;
    margin: 0rem, auto;
    color: #3200B2;
    opacity: 0.8;
}

.market-card .subtitle {
    font-size: 1rem;
    color: #6d6d6d;
    width: 60%;
    margin-top: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background-color: #3300FF;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    box-shadow: none; /* Removed any potential button shadow */
}

.primary-button:hover {
    background-color: #2900cc;
}

.primary-button img {
    width: 20px;
    height: 20px;
}

/* Add spacing between cards */
/* .market-card + .market-card {
    margin-top: 0.25rem;
} */

/* Competitor card specific styles */
.competitor-card {
    background-color: #FFF1F1; /* Light red background */
    border-color: #FFD6D6; /* Light red border */
}

/* Update container styles to accommodate multiple cards */
.market-track {
    padding: 0rem;
    margin: 0rem;
}

/* Font sizes responsive */
.hero h1 {
    font-size: 2rem;
}

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

.hero-content p {
    font-size: 1rem;
}

.hero-content .ai-insights p {
    padding-top: 1rem;
    width: 70%;
    margin: 0 auto;
    margin-top: 2rem;

}



/* Logo responsive */
.logo img {
    width: 60px;
    height: 32px;
}

/* Add smooth transitions */
* {
    transition: all 0.3s ease-in-out;
}



/* Add Get in Touch button styles */
.get-in-touch {
    background-color: #3300FF;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-left: 1.5rem;
    display: inline-block;
}

.get-in-touch:hover {
    background-color: #2900cc;
    color: white;
}


/* Add these new styles for the image rows */
/* Update these styles */
.image-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0.25rem auto;
    flex-wrap: nowrap;
    width: 80%;
    max-width: 1200px; /* Add max-width to match other content */
    padding: 0rem;
    box-sizing: border-box;
}

/* Rest of the CSS remains the same */

.image-row img {
    object-fit: contain;
    width: 48%;
    max-width: 600px; /* Add max-width for larger screens */
    height: auto;
}

.image-grid {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem auto;
    width: 80%;
  }
  
  .image-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 48%;
  }
  
  .image-column img {
    object-fit: contain;
    width: 100%;
    height: auto;
  }
  


/* Add styles for nav-links */
.nav-links {
    display: flex;  /* Changed from flex */
    width: auto;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
    text-align: center;
    font-size: 0.8rem;
}

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


.competitor-research {
    background-color: #EBFBFC;  /* Light gray - change to your preferred color */
  }
  

.understand-customers {
    background-color: #FCFDF0;  /* Light gray - change to your preferred color */
  }
  

.competitor-research h2 {
    color: #00626A;
}


.understand-customers h2 {
    color: #8D8300;
}



/* stars */
:root {
    --primary-color: #D6D3FF;
  }
  

  .hero {
    padding: 2rem 1rem;
    background: #fff;
    color: #000;
    margin: 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;  /* Added full viewport width */
    box-sizing: border-box;

    


}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%; /* Match the max-width of hero-content */
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}

.hero-background svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.stars {
    position: relative;
    z-index: 1;
}

.hero-shapes {
    position: relative;
    z-index: 1;
}
  

/* Show nav links when active */
.nav-links.active {
    display: flex;
    margin: 0 auto;
    width: 80%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px 0; /* Adjusted margin for better spacing */
    background-color: #a8a8a8;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    position: relative; /* Added for better positioning */
}

/* Responsive text animation */
@media (min-width: 1025px) {
    .text-animation span {
        font-size: 4rem;  /* Larger font size for big screens */
        font-weight: 900;
    }
    header {
        display: flex;
        justify-content: center;  /* Center the nav container */
    }

    header nav {
        max-width: 1600px;  /* Match container max-width */
        width: 100%;
        padding: 1rem 2rem;
        margin: 0 auto;
    }

    .container {
        max-width: 1400px;
        margin: 0 auto;     /* Center the container */
        padding: 0 2rem;    /* Maintain padding on larger screens */
        width: 100%;
    }

    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-content {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .hero-content p {
        font-size: 1.25rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

}

@media (max-width: 1024px) {
    .text-animation span {
        font-size: 4rem;
        font-weight: 900;
        text-align: center;
    }

    header {
        display: flex;
        justify-content: center;  /* Center the nav container */
    }

    header nav {
        max-width: 1600px;  /* Match container max-width */
        width: 100%;
        padding: 1rem 2rem;
    }

    .hero > div {
        padding: 1rem 2rem;
    }

    .container {
        max-width: 1024px;
        margin: 0 auto;
    }
    
    
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .get-in-touch {
        margin-left: 1rem;
        padding: 0.75rem 1rem;
    }

}

@media (max-width: 768px) {
    .text-animation {
        height: 90px;
    }
    
    .text-animation span {
        font-size: 2rem;
        font-weight: 900;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 1rem;
    }

    .container {
        padding: 0 2rem; /* Less padding on smaller screens */
    }

    .hero > div,
    .container {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        overflow: hidden; 
    }

    header {
        position: relative; /* Ensure header has position for absolute menu */
    }

    header nav {
        display: flex;
        position: relative;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        margin: 0 1rem;
        flex-direction: row; /* Change to row to keep logo and menu toggle side by side */
    }


    .hero-card {
        flex-direction: row;
        padding: 4rem;
        margin: 0 auto;
    }

    .email-input {
        flex: 1;
        padding: 0.75rem 1rem;
        border: 2px solid #e0e0e0;
        border-radius: 5px;
        font-size: 1rem;
        font-family: inherit;
        outline: none;
        transition: border-color 0.3s ease;
        }
    
    .hero-content .ai-insights p {
        padding-top: 1rem;
        width: 100%;
        margin: 0 auto;
        margin-top: 2rem;
    
    }    


    .image-row {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        padding: 0rem; /* Add padding to match container */
    }

    .image-row img {
        width: 96%;
        height: auto;
        display: block;
        margin: 0 auto; /* Center images */
        
    }

    .image-grid {
        flex-direction: column;
        width: 96%;
      }
    
    .image-column {
        width: 100%;
      }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%; /* Position right below the header */
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        text-align: center; /* Center align all text */
    }

    .nav-links a {
        flex-direction: column;
        padding: 0.75rem 0rem;
        width: 100%;
        min-width: 160px;
        text-align: center;
        display: block;
        margin: 0 1rem;
        border-bottom: 1px solid #eee;
    }
    
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        align-items: center; /* Center align flex items */
        justify-content: center; /* Center vertically */
        gap: 0.5rem;
    }

    .nav-links.active a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.5rem;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px); /* Adjusted translation */
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px); /* Adjusted translation */
    }
            

    .get-in-touch {
        margin: 0 auto; 
        width: 20%;
        min-width: 160px;
        text-align: center;
        border-radius: 4px;
        font-size: 0.9rem;    
    }
    
    
    .early-access-form {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content {
        padding-right: 0rem;
        padding-top: 0;
        text-align: left;
    }

    .market-card {
        margin: 0 auto;
        padding: 1rem 0;
        border-radius: 8px;
        width: 100%;
    }

    .market-card h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .market-card .subtitle {
        font-size: 0.8rem;
        width: 80%;
        margin-top: 0.5rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
    }
    

    .logo img {
        width: 80px;
        height: 43px;
    }
    
    .menu-toggle {
        position: relative; 
        display: block;
        z-index: 1001;
        margin-left: auto;
        order: 2;
    }
    
    .logo {
        order: 1; /* Ensures logo stays on the left */
        margin-right: auto;
    }
    .nav-links {
        order: 3; /* Ensures the menu appears below */
        width: 100%;
        top: 100%;
    }

    .hero {
        min-height: 600px; /* Set minimum height for mobile */
    }

    .hero-background {
        height: 600px; /* Fixed height for mobile */
    }

    .hero-background svg {
        height: 600px;
        object-fit: cover;
        object-position: center;
        transform: scale(1.5);
        transform-origin: center center;
    }

    .input-row {
        display: flex;
        gap: 8px;
        width: 100%;
        flex-direction: column
    }
    

    .early-access-button {
        width: 100%;  /* Make button full width */
        margin: 0;    /* Remove margin */
        padding: 0.75rem 1rem;
        white-space: normal;  /* Allow text to wrap if needed */
        min-width: auto;      /* Remove min-width constraint */
    }

    .early-access-button {
        background-color: #3300FF;
        margin: auto;
        width: 60%;
        color: #fff;
        padding: 0.75rem 1rem;
        border: none;
        border-radius: 4px;
        font-weight: 600;
        font-size: 0.7rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
        white-space: nowrap;
        min-width: fit-content
    }

    


}