/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #1a1f2c 0%, #2b4d7c 100%);
    min-height: 100vh;
}

/* Header styles */
.header {
    background-color: #1a1f2c;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header.shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background-color: #1a1f2c;
}

.header.hide {
    transform: translateY(-100%);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    min-width: 200px;
    transition: all 0.3s ease;
}

/* Navigation styles */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #64b5f6;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #64b5f6, #2196f3);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 70%;
}

/* Mobile menu styles */
.mobile-menu-container {
    display: none;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1f2c;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1002;
    position: relative;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Login button styles */
.login-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid #64b5f6;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #64b5f6;
    color: #1a1f2c;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-container {
        display: block;
    }

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

/* Hero Section Styles */
.hero-section {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(45deg, #64b5f6, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #a8b2d1;
    margin-bottom: 3rem;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2rem;
    color: #64b5f6;
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0.5rem 0;
}

.stat-label {
    display: block;
    color: #a8b2d1;
    font-size: 0.9rem;
}

.get-started-btn {
    background: linear-gradient(45deg, #64b5f6, #2196f3);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    text-decoration: none;
}

.get-started-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.get-started-btn i {
    transition: transform 0.3s ease;
}

.get-started-btn:hover i {
    transform: translateX(5px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 0 1rem;
}

.feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.feature i {
    font-size: 2rem;
    color: #64b5f6;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #a8b2d1;
    font-size: 0.9rem;
}

.cta-section {
    margin-top: 3rem;
}

.primary-btn {
    background: #64b5f6;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.primary-btn:hover {
    background: #2196f3;
    transform: translateY(-2px);
}

.users-online {
    color: #a8b2d1;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Container adjustments */
.container {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.content-center {
    width: 100%;
    padding: 0 1rem;
}

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

    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature {
        padding: 1.5rem;
    }
}

/* Main content styles */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 7rem 2rem 2rem;
}

.content-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #1a1f2c;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }

    .nav-links.show {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease-in-out;
    }

    .nav-links.show a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links a:nth-child(4) { transition-delay: 0.4s; }

    .logo-img {
        min-width: 150px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1rem;
    }
}

/* Button Styles */
.primary-button {
    background: linear-gradient(45deg, #2196f3, #1976d2);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s;
    margin: 1rem 0;
}

.primary-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, #1e88e5, #1565c0);
}

/* Info Box */
.info-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    margin: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.chat-info h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.chat-info p {
    color: #90caf9;
}

.secondary-button {
    background-color: rgba(33, 150, 243, 0.2);
    color: #90caf9;
    border: 1px solid #2196f3;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.secondary-button:hover {
    background-color: rgba(33, 150, 243, 0.3);
    transform: translateY(-1px);
}

/* Status Tag */
.status-tag {
    background-color: rgba(76, 175, 80, 0.2);
    color: #81c784;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 1rem 0;
}

/* Welcome Section */
.welcome-section {
    margin: 2rem 0;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
}

.welcome-section h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.welcome-section p {
    color: #90caf9;
    line-height: 1.8;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.feature-button:hover {
    background-color: rgba(33, 150, 243, 0.2);
    transform: translateY(-1px);
}

/* Typography */
h1 {
    font-size: 2.8rem;
    background: linear-gradient(45deg, #64b5f6, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.3rem;
    color: #90caf9;
}

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

    .subtitle {
        font-size: 1.1rem;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .feature-button {
        width: 100%;
    }
}

.conversation-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #64b5f6, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    animation: titleFadeIn 1s ease-out;
}

.conversation-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #64b5f6, #2196f3);
    border-radius: 2px;
}

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

.copyright {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    display: inline-block;
}

.copyright:hover {
    color: #60a5fa;
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
}

.copyright::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #60a5fa;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.copyright:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Contact Page Styles */
.contact-page {
    padding: 4rem 2rem;
    background-color: #f8fafc;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-description {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-top: 0.25rem;
}

.contact-item h3 {
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #64748b;
}

.contact-form {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 0.5rem;
}

.contact-form h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #475569;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    background-color: white;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-btn {
    background-color: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-btn:hover {
    background-color: #2563eb;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .contact-page {
        padding: 2rem 1rem;
    }
}

/* Footer Styles */
.footer {
    background-color: #0f172a;
    color: #ffffff;
    padding: 3rem 0 0;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
}

.footer-tagline {
    color: #94a3b8;
    margin-top: 1rem;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: #94a3b8;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #3b82f6;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    color: #94a3b8;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info li i {
    color: #3b82f6;
    width: 20px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
}

.copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
}
