/* Base Styles */
:root {
    /* Color Scheme */
    --primary: #3EDAD8;
    --primary-light: #5FF2F0;
    --primary-dark: #2BC6C4;
    --secondary: #A259FF;
    --secondary-light: #BF8FFF;
    --secondary-dark: #8A3FE8;
    --accent: #FFD600;
    --accent-light: #FFE566;
    --accent-dark: #E6C000;
    --background: #F8FDFF;
    --text-dark: #1A2C5B;
    --text-light: #FFFFFF;
    --gray-light: #F0F4F8;
    --gray-medium: #D9E2EC;
    --gray-dark: #829AB1;
    
    /* Typography */
    --font-heading: 'Comfortaa', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn.secondary:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(248, 253, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 40px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary);
}

nav ul {
    display: flex;
    gap: var(--spacing-lg);
}

nav a {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
}

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

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-full);
}

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

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--spacing-xxl) + 80px);
    padding-bottom: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-dark);
}

.hero-image {
    flex: 1;
    position: relative;
    min-height: 600px;
}

.phone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    width: 280px;
    height: 580px;
    background-color: #000;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    padding: 10px;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) rotate(-5deg);
    }
    50% {
        transform: translate(-50%, -48%) rotate(-3deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-5deg);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background-color: #000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 20;
}

.phone-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    z-index: 20;
}

.chat-interface {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 40px var(--spacing-md) var(--spacing-md);
    background-color: var(--primary);
}

.chat-profile {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.profile-image {
    width: 40px;
    height: 40px;
    background-color: var(--text-light);
    border-radius: var(--radius-full);
}

.profile-name {
    color: var(--text-light);
    font-weight: 600;
}

.chat-messages {
    flex: 1;
    padding: var(--spacing-md);
    background-color: #E5DDD5;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.message {
    max-width: 70%;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    position: relative;
}

.message p {
    margin-bottom: 0;
}

.message.customer {
    align-self: flex-end;
    background-color: #DCF8C6;
}

.message.business {
    align-self: flex-start;
    background-color: var(--text-light);
}

.typing-indicator {
    align-self: flex-start;
    background-color: var(--text-light);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    display: flex;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: var(--gray-dark);
    border-radius: var(--radius-full);
    display: inline-block;
    animation: typing 1.4s infinite both;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

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

.floating-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.bubble {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.7;
}

.bubble.b1 {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    top: 20%;
    left: 10%;
    animation: bubble-float 8s ease-in-out infinite;
}

.bubble.b2 {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-light);
    top: 60%;
    left: 20%;
    animation: bubble-float 12s ease-in-out infinite;
}

.bubble.b3 {
    width: 40px;
    height: 40px;
    background-color: var(--accent-light);
    top: 30%;
    right: 15%;
    animation: bubble-float 10s ease-in-out infinite;
}

.bubble.b4 {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    bottom: 20%;
    right: 10%;
    animation: bubble-float 9s ease-in-out infinite;
}

.bubble.b5 {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-light);
    bottom: 40%;
    left: 5%;
    animation: bubble-float 11s ease-in-out infinite;
}

@keyframes bubble-float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(10px, -15px) rotate(10deg);
    }
    66% {
        transform: translate(-10px, 15px) rotate(-10deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url('../images/wave.svg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Features Overview Section */
.features-overview {
    padding-top: var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background-color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

/* Businesses Section */
.businesses {
    background-color: var(--gray-light);
}

.business-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.business-type {
    background-color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.business-type:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.business-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.business-icon img {
    width: 35px;
    height: 35px;
}

.business-type h3 {
    color: var(--secondary);
    margin-bottom: var(--spacing-sm);
}

/* Testimonials Section */
.testimonials {
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.testimonial {
    flex: 0 0 100%;
    background-color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: var(--spacing-lg);
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    position: relative;
    padding: 0 var(--spacing-lg);
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-light);
    position: absolute;
    line-height: 1;
}

.testimonial-content p::before {
    left: 0;
    top: -10px;
}

.testimonial-content p::after {
    right: 0;
    bottom: -30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.author-info h4 {
    margin-bottom: 0;
    color: var(--primary);
}

.author-info p {
    margin-bottom: 0;
    color: var(--gray-dark);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--gray-medium);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Demo Section */
.demo {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--text-light);
}

.demo .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.demo-content {
    flex: 1;
}

.demo-content h2 {
    text-align: left;
    color: var(--text-light);
}

.demo-content .gradient-text {
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.demo-image {
    flex: 0 0 300px;
    text-align: center;
}

.demo-image img {
    width: 200px;
    height: 200px;
    margin-bottom: var(--spacing-md);
    background-color: var(--text-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

.demo-cta {
    margin-top: var(--spacing-lg);
}

.demo-cta .btn.primary {
    background: var(--text-light);
    color: var(--primary);
}

.demo-cta .btn.primary:hover {
    background: var(--accent);
    color: var(--text-dark);
}

/* Pricing Teaser Section */
.pricing-teaser {
    background-color: var(--gray-light);
}

.pricing-cards {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.pricing-card {
    flex: 1;
    max-width: 350px;
    background-color: var(--text-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.business {
    transform: scale(1.05);
    z-index: 10;
}

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

.popular-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent);
    color: var(--text-dark);
    font-weight: 700;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
}

.pricing-header {
    padding: var(--spacing-lg);
    text-align: center;
    border-bottom: 1px solid var(--gray-medium);
}

.pricing-header h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.price {
    font-family: var(--font-heading);
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 5px;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.period {
    font-size: 1rem;
    color: var(--gray-dark);
    margin-left: 5px;
}

.pricing-features {
    padding: var(--spacing-lg);
}

.pricing-features ul {
    margin-bottom: var(--spacing-lg);
}

.pricing-features li {
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-left: 30px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.pricing-cta {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    text-align: center;
}

.pricing-card.starter .pricing-header h3,
.pricing-card.starter .amount {
    color: var(--primary);
}

.pricing-card.business .pricing-header h3,
.pricing-card.business .amount {
    color: var(--secondary);
}

.pricing-card.premium .pricing-header h3,
.pricing-card.premium .amount {
    color: var(--accent-dark);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

.cta .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    text-align: left;
    color: var(--text-light);
}

.cta-content .gradient-text {
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.cta-mascot {
    flex: 0 0 300px;
    text-align: center;
}

.cta-mascot img {
    width: 250px;
    animation: mascot-bounce 3s ease-in-out infinite;
}

@keyframes mascot-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.cta .btn.primary {
    background: var(--text-light);
    color: var(--secondary);
}

.cta .btn.primary:hover {
    background: var(--accent);
    color: var(--text-dark);
}

.cta .btn.secondary {
    border-color: var(--text-light);
    color: var(--text-light);
}

.cta .btn.secondary:hover {
    background: var(--text-light);
    color: var(--secondary);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    flex: 1;
}

.footer-logo h2 {
    text-align: left;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

.footer-logo p {
    color: var(--gray-dark);
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
}

.link-group h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.link-group ul li {
    margin-bottom: var(--spacing-sm);
}

.link-group a {
    color: var(--gray-dark);
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.social-link img {
    width: 20px;
    height: 20px;
}

.copyright {
    color: var(--gray-dark);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .features-grid,
    .business-types {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero .container,
    .demo .container,
    .cta .container {
        flex-direction: column;
    }
    
    .hero-image {
        min-height: 500px;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 400px;
    }
    
    .pricing-card.business {
        transform: none;
    }
    
    .pricing-card.business:hover {
        transform: translateY(-10px);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .features-grid,
    .business-types {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        min-height: 400px;
    }
    
    .phone {
        width: 220px;
        height: 450px;
    }
    
    .cta-buttons {
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}
