/* assets/css/landing_style.css */

/* --- GLOBAL VARIABLES (Red Theme) --- */
:root {
    --primary-color: #E53E3E;       /* Red 600 */
    --primary-hover: #C53030;       /* Red 700 */
    --bg-color: #FAFAFA;
    --text-dark: #2D3748;
    --text-muted: #718096;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.small-container { max-width: 800px; }
.text-center { text-align: center; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}
.btn-text {
    background: transparent;
    color: var(--text-dark);
}
.btn-text:hover { color: var(--primary-color); }

/* --- HEADER --- */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img { height: 40px; }

.desktop-nav ul { display: flex; gap: 30px; }
.desktop-nav a { font-weight: 500; color: var(--text-dark); font-size: 0.95rem; }
.desktop-nav a:hover { color: var(--primary-color); }

.header-actions { display: flex; gap: 15px; }
.mobile-toggle { display: none; font-size: 1.5rem; color: var(--text-dark); cursor: pointer; }

/* --- HERO SECTION --- */
.hero-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.badge-pill {
    background: #FFF5F5;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}
.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}
.highlight { color: var(--primary-color); }
.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 90%;
}
.hero-btns { display: flex; gap: 15px; margin-bottom: 40px; align-items: center; }

/* Avatars */
.avatars { display: flex; align-items: center; }
.avatars img {
    width: 40px; height: 40px; border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -15px;
}
.avatars img:first-child { margin-left: 0; }
.avatars .count {
    margin-left: 15px; font-weight: 600; font-size: 0.9rem; color: var(--text-muted);
}

/* Chat Mockup */
.chat-mockup {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}
.dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #FF5F56; }
.yellow { background: #FFBD2E; }
.green { background: #27C93F; }

.chat-body {
    padding: 20px;
    height: 300px;
    overflow: hidden;
    background: #FAFAFA;
}
.msg {
    margin-bottom: 15px;
    max-width: 85%;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: slideUp 0.5s ease forwards;
}
.msg.user {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}
.msg.ai {
    background: white;
    color: var(--text-dark);
    border: 1px solid #eee;
    margin-right: auto;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.typing { display: flex; gap: 5px; padding: 15px; width: fit-content; }
.dot-pulse { width: 8px; height: 8px; background: #ccc; border-radius: 50%; animation: pulse 1s infinite; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

.chat-footer {
    padding: 10px 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #999;
    font-size: 0.9rem;
}
.send-fake { color: var(--primary-color); }

/* Float Cards */
.float-card {
    position: absolute;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-weight: 600;
    font-size: 0.85rem;
    animation: float 4s ease-in-out infinite;
}
.card-1 { top: 40px; right: -40px; color: var(--primary-color); }
.card-2 { bottom: 60px; left: -50px; animation-delay: 2s; color: #3182CE; }

.bg-blob {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(229,62,62,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

/* --- SERVICES SECTION --- */
.services-section { padding: 80px 0; background: #fff; }
.section-title { margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card-new {
    background: #FFFFFF;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}
.service-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: #FED7D7;
}
.service-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
/* Icon Colors */
.icon-bg-pink   { background-color: #FFF5F7; color: #D53F8C; }
.icon-bg-red    { background-color: #FFF5F5; color: #E53E3E; }
.icon-bg-teal   { background-color: #E6FFFA; color: #319795; }
.icon-bg-purple { background-color: #FAF5FF; color: #805AD5; }
.icon-bg-cyan   { background-color: #E0FCFF; color: #0987A0; }
.icon-bg-orange { background-color: #FFFAF0; color: #DD6B20; }
.icon-bg-blue   { background-color: #EBF8FF; color: #3182CE; }
.icon-bg-green  { background-color: #F0FFF4; color: #38A169; }

/* --- VIDEO SECTION --- */
.video-section { padding: 80px 0; background: #FFF5F5; }
.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: rgba(255,255,255,0.5);
    box-shadow: 0 20px 60px rgba(229, 62, 62, 0.15);
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- REVIEWS MARQUEE --- */
.reviews-section { padding: 80px 0; overflow: hidden; background: #fff; }
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-content {
    display: flex;
    gap: 30px;
    animation: scroll 30s linear infinite;
    width: max-content;
}
.review-card {
    background: #FAFAFA;
    padding: 25px;
    border-radius: 16px;
    min-width: 350px;
    border: 1px solid #eee;
}
.stars { color: #F6AD55; margin-bottom: 10px; font-size: 1.1rem; }
.review-card p { font-size: 0.95rem; font-style: italic; margin-bottom: 20px; }
.user-info { display: flex; align-items: center; gap: 15px; text-align: left; }
.user-info .avatar {
    width: 45px; height: 45px;
    background: #E53E3E; color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold;
}
.color-2 { background: #3182CE !important; }
.color-3 { background: #38A169 !important; }
.color-4 { background: #805AD5 !important; }
.user-info span { font-size: 0.8rem; color: #718096; display: block; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- FAQ SECTION --- */
.faq-section { padding: 80px 0; background: #FAFAFA; }
.accordion .card {
    border: none;
    background: transparent;
    margin-bottom: 15px;
    box-shadow: none;
}
.accordion .card-header {
    background: #fff;
    padding: 0;
    border: 1px solid #eee;
    border-radius: 12px !important;
    overflow: hidden;
}
.accordion .btn-link {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion .btn-link::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}
.accordion .btn-link[aria-expanded="true"]::after { content: '-'; }
.accordion .card-body {
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 25px;
    color: var(--text-muted);
}

/* --- FOOTER --- */
.landing-footer {
    background: #1A202C;
    color: #A0AEC0;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 { color: white; margin-bottom: 20px; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--primary-color); }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: white;
}
.social-icons a:hover { background: var(--primary-color); }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- ANIMATIONS --- */
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 0.5; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-text h1 { font-size: 2.8rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-text { margin-bottom: 50px; }
    .hero-btns, .avatars { justify-content: center; }
    .chat-mockup { margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-header .desktop-nav, .main-header .header-actions { display: none; }
    .mobile-toggle { display: block; }
    .desktop-nav.active {
        display: block; position: absolute; top: 100%; left: 0; right: 0;
        background: white; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
    }
    .desktop-nav.active ul { flex-direction: column; gap: 15px; }
    
    .hero-text h1 { font-size: 2.2rem; }
    .float-card { display: none; } /* Hide floating cards on small screens */
    .footer-grid { grid-template-columns: 1fr; }
}