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

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #18191d;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
.logo {
    display: flex;
    align-items: center; /* vertically center the text with the SVG */
    gap: 8px; /* space between the SVG and text */
}

.nav-logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0D0E11; /* optional, match your design */
}
/* Color Variables */
:root {
    --bg-primary: #f5f6f9;
    --bg-secondary: #fefefe;
    --bg-dark: #18191d;
    --bg-medium: #292b2e;
    --text-primary: #18191d;
    --text-secondary: #595a5b;
    --text-light: #a8a7ac;
    --text-white: #fefefe;
    --accent-green: #ddf47c;
    --border-color: #e5e7eb;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 50;
    transition: transform 0.6s ease;
}

.header.animate-in {
    transform: translateY(0);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.logo h1:hover {
    transform: scale(1.05);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideInDown 0.6s ease forwards;
}

.nav-link:nth-child(1) { animation-delay: 0.3s; }
.nav-link:nth-child(2) { animation-delay: 0.4s; }
.nav-link:nth-child(3) { animation-delay: 0.5s; }
.nav-link:nth-child(4) { animation-delay: 0.6s; }

.nav-link:hover {
    transform: scale(1.05);
    color: var(--text-primary);
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-secondary, .btn-primary {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 0.6s ease forwards;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    animation-delay: 0.5s;
}

.btn-secondary:hover {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: var(--accent-green);
    color: var(--text-primary);
    animation-delay: 0.6s;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #c8e55a;
}

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

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    transition: all 0.3s ease;
}

.nav-mobile {
    display: none;
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-link-mobile {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-link-mobile:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-secondary-mobile, .btn-primary-mobile {
    width: 100%;
    text-align: left;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-secondary-mobile {
    background: transparent;
    color: var(--text-secondary);
}

.btn-primary-mobile {
    background: var(--accent-green);
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    background: var(--bg-dark);
    padding: 8rem 0 4rem;
    min-height: 600px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 600px;
}

.hero-content {
    text-align: left;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease 0.2s forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 32rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease 0.4s forwards;
}

.btn-hero {
    padding: 0.75rem 2rem;
    background: var(--accent-green);
    color: var(--text-primary);
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease 0.6s forwards;
}

.btn-hero:hover {
    transform: scale(1.05);
    background: #c8e55a;
}

.hero-chat {
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease 0.3s forwards;
}

.chat-interfaces {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-chat {
    margin-left: 2rem;
}

.secondary-chat {
    margin-right: 2rem;
}

/* Chat Interface Styles */
.chat-interface {
    background: var(--bg-medium);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 28rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.compact-chat {
    max-width: 20rem;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--text-secondary);
}

.chat-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.control.red { background: #ef4444; }
.control.yellow { background: #eab308; }
.control.green { background: #22c55e; }

.chat-title {
    font-size: 0.875rem;
    color: var(--text-light);
}

.chat-messages {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-messages.compact {
    padding: 0.75rem;
    gap: 0.75rem;
}

.message {
    display: flex;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s ease forwards;
}

.message:nth-child(1) { animation-delay: 0s; }
.message:nth-child(2) { animation-delay: 0.2s; }
.message:nth-child(3) { animation-delay: 0.4s; }
.message:nth-child(4) { animation-delay: 0.6s; }

.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-avatar {
    background: var(--accent-green);
    color: var(--text-primary);
}

.user-avatar {
    background: var(--text-light);
    color: var(--text-white);
}

.message-content {
    max-width: 80%;
    padding: 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.ai-content {
    background: var(--text-secondary);
    color: var(--text-white);
    border-top-left-radius: 0.25rem;
}

.user-content {
    background: var(--accent-green);
    color: var(--text-primary);
    border-top-right-radius: 0.25rem;
}

/* Features Section */
.features {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.6s ease forwards;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.feature-item:nth-child(1) {
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease 0.2s forwards;
}

.feature-item:nth-child(2) {
    transform: translateX(50px);
    animation: slideInRight 0.6s ease 0.4s forwards;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-feature {
    padding: 0.75rem 1.5rem;
    background: var(--accent-green);
    color: var(--text-primary);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-feature:hover {
    transform: scale(1.05);
    background: #c8e55a;
}

.section-center {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* Technology Section */
.technology {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.tech-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.tech-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.tech-features {
    display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px; /* row gap, column gap */
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-features li {
    display: flex;
  align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
}
.tech-features .bullet {
  display: inline-block;

 width: 0.5rem;
    height: 0.5rem;
    background: var(--accent-green);
    border-radius: 50%;
  margin-right: 8px;
  margin-top: 6px; /* vertically align with text */
}



.tech-demo {
    display: flex;
    justify-content: center;
}

/* Pricing Section */
.pricing {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.6s ease forwards;
}

.pricing-card:nth-child(1) { animation-delay: 0s; }
.pricing-card:nth-child(2) { animation-delay: 0.1s; }
.pricing-card:nth-child(3) { animation-delay: 0.2s; }

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    background: var(--bg-dark);
    color: var(--text-white);
    transform: scale(1.05) translateY(50px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: var(--text-primary);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.popular .plan-name {
    color: var(--text-white);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.popular .plan-price {
    color: var(--text-white);
}

.plan-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.popular .plan-description {
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--accent-green);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    margin-top: 0.125rem;
}

.popular .plan-features li {
    color: var(--text-light);
}

.btn-plan {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-plan:not(.popular) {
    background: var(--bg-dark);
    color: var(--text-white);
}

.btn-plan.popular {
    background: var(--accent-green);
    color: var(--text-primary);
}

.btn-plan:hover {
    transform: scale(1.02);
}

/* FAQ Section */
.faq {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.faq-list {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.3s; }
.faq-item:nth-child(5) { animation-delay: 0.4s; }
.faq-item:nth-child(6) { animation-delay: 0.5s; }

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: none;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 5rem 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.footer-content {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease forwards;
}

.footer-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.footer-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 28rem;
}

.btn-footer {
    padding: 0.75rem 2rem;
    background: var(--accent-green);
    color: var(--text-primary);
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-footer:hover {
    transform: scale(1.05);
    background: #c8e55a;
}

.footer-logo {
    text-align: right;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s ease forwards;
}

.footer-logo h1 {
    font-size: 4rem;
    font-weight: bold;
    color: var(--text-white);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-top: 4rem;
    border-top: 1px solid var(--bg-medium);
}

.footer-column-title {
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-link {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text-white);
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.copyright-icon {
    width: 2rem;
    height: 2rem;
    background: var(--bg-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 0.875rem;
}

.footer-copyright span {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-desktop,
    .header-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-mobile.show {
        display: block;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-title {
        font-size: 2.5rem;
    }
    
    .footer-logo h1 {
        font-size: 3rem;
    }
    
    .chat-interfaces {
        align-items: center;
    }
    
    .main-chat,
    .secondary-chat {
        margin: 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Intersection Observer Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
