/* Base Styles */
:root {
    --primary: #E91E63;
    --primary-light: #F8BBD0;
    --primary-dark: #C2185B;
    --secondary: #3F51B5;
    --dark: #212121;
    --light: #F5F5F5;
    --gray: #757575;
    --white: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.page-container {
    overflow: hidden;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

section {
    padding: 5rem 0;
    position: relative;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.logo-svg {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

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

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--dark);
    transition: var(--transition);
}

/* Intro Section */
.intro {
    background-color: var(--light);
    padding: 6rem 0 0;
    position: relative;
    overflow: hidden;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-content {
    z-index: 1;
}

.intro h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.intro h1 span::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: var(--primary-light);
    bottom: 5px;
    left: 0;
    z-index: -1;
    border-radius: 4px;
}

.intro p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

.primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
}

.outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.outline:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.intro-visual {
    position: relative;
    z-index: 1;
}

.chat-interface {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.chat-header {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.avatar {
    width: 30px;
    height: 30px;
}

.chat-messages {
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    max-width: 80%;
}

.message.ai {
    background-color: var(--light);
    border-top-left-radius: 0;
}

.message.user {
    background-color: var(--primary-light);
    border-top-right-radius: 0;
    margin-left: auto;
}

.message p {
    margin-bottom: 0;
    color: var(--dark);
}

.typing {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--gray);
    border-radius: 50%;
    opacity: 0.8;
    animation: typing 1s infinite ease-in-out alternate;
}

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

@keyframes typing {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    transform: rotateY(180deg);
}

.wave-divider path {
    fill: var(--white);
}

/* Experience Section */
.experience {
    background-color: var(--white);
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
}

.feature-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.ai-preview {
    max-width: 600px;
    margin: 4rem auto 0;
}

.ai-brain {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(233, 30, 99, 0.3));
}

/* Start Section */
.start-section {
    background: var(--gradient);
    padding: 5rem 0;
    color: var(--white);
    text-align: center;
}

.start-section h2,
.start-section p {
    color: var(--white);
}

.start-section h2::after {
    background-color: var(--white);
}

.start-section .btn {
    background-color: var(--white);
    color: var(--primary);
    margin-top: 1rem;
}

.start-section .btn:hover {
    background-color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about p {
    color: var(--light);
    opacity: 0.8;
    margin-top: 1rem;
}

.footer-logo-svg {
    max-width: 180px;
}

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

.link-group h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.link-group ul li {
    margin-bottom: 0.8rem;
}

.link-group ul li a {
    color: var(--light);
    opacity: 0.8;
    transition: var(--transition);
}

.link-group ul li a:hover {
    opacity: 1;
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: var(--light);
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-content {
        text-align: center;
    }
    
    .btn-group {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-about {
        text-align: center;
    }
    
    .footer-links {
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 2rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -6px);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .card-container {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
