:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #25D366; /* WhatsApp Green */
    --accent-hover: #1ebe57;
    --text-color: #1a1a1a;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --border-color: #e5e5e5;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

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

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

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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-color);
}

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

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

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.cta-button:hover {
    background: #333;
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero h1 {
    max-width: 600px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* WhatsApp Examples Section */
.examples {
    background: var(--bg-light);
}

.examples-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth; /* Ensure smooth scrolling */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.examples-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-btn {
    background: #fff;
    border: 1px solid var(--border-color);
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--bg-light);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.carousel-btn i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Hide buttons on mobile if touch is preferred, or keep them if requested */
@media (max-width: 768px) {
    .carousel-btn {
        display: none;
    }
}

.chat-device {
    min-width: 320px;
    max-width: 320px;
    height: 560px;
    background: #fff;
    border-radius: 30px;
    border: 8px solid #222;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    scroll-snap-align: center;
    flex-shrink: 0;
}

.chat-header {
    background: #075E54;
    color: #fff;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chat-avatar {
    width: 35px;
    height: 35px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.chat-info h4 {
    font-size: 0.9rem;
}

.chat-info p {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.8;
}

.chat-body {
    height: calc(100% - 60px);
    background: #e5ddd5;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.msg {
    max-width: 80%;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    font-size: 0.85rem;
    position: relative;
}

.msg-bot {
    align-self: flex-start;
    background: #fff;
    color: #000;
    border-top-left-radius: 2px;
}

.msg-lead {
    align-self: flex-end;
    background: #dcf8c6;
    color: #000;
    border-top-right-radius: 2px;
}

.msg-time {
    font-size: 0.65rem;
    color: #999;
    text-align: right;
    margin-top: 2px;
    display: block;
}

/* Support Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent-color);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 1000;
}

.whatsapp-float:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

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

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

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

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

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

.msg {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.msg:nth-child(1) { animation-delay: 0.1s; }
.msg:nth-child(2) { animation-delay: 0.6s; }
.msg:nth-child(3) { animation-delay: 1.1s; }
.msg:nth-child(4) { animation-delay: 1.6s; }
.msg:nth-child(5) { animation-delay: 2.1s; }
.msg:nth-child(6) { animation-delay: 2.6s; }
.msg:nth-child(7) { animation-delay: 3.1s; }
.msg:nth-child(8) { animation-delay: 3.6s; }

html {
    scroll-behavior: smooth;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out forwards;
}

.hero-image {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Glassmorphism for feature cards */
.feature-card {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(5px);
}

/* Enhanced Buttons */
.cta-button {
    box-shadow: 0 4px 14px 0 rgba(0,0,0,0.1);
}

.cta-button:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { flex-direction: column; text-align: center; padding-top: 8rem; }
    .hero h1 { margin-left: auto; margin-right: auto; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-image { display: none; }
    .nav-links { display: none; }
}

