/* Base Styles */
:root {
    /* Light theme variables */
    --primary: #5192ac;
    --primary-light: #3d85a4;
    --primary-dark: #a4c4d4;
    --secondary: #1E293B;
    --secondary-light: #334155;
    --secondary-dark: #0F172A;
    --accent-blue: #3B82F6;
    --accent-orange: #F59E0B;
    --accent-green: #10B981;
    --text: #1E293B;
    --text-muted: #64748B;
    --bg: #F8FAFC;
    --bg-muted: #F1F5F9;
    --border-color: #E2E8F0;
    --card-bg: #FFFFFF;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* Dark theme variables */
html.dark {
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --bg: #0F172A;
    --bg-muted: #1E293B;
    --border-color: #334155;
    --card-bg: #1E293B;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

.purple {
    color: var(--primary);
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

.subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.2);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--text);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-service {
    display: inline-block;
    background-color: var(--bg-muted);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn-service:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

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

/* Stagger the animations for sections */
section.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

section.fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

section.fade-in:nth-child(4) {
    animation-delay: 0.6s;
}

section.fade-in:nth-child(5) {
    animation-delay: 0.8s;
}

section.fade-in:nth-child(6) {
    animation-delay: 1s;
}

section.fade-in:nth-child(7) {
    animation-delay: 1.2s;
}

footer.fade-in {
    animation-delay: 1.4s;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 15px;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--bg-muted);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    transition: var(--transition);
}

html.dark .theme-toggle .sun-icon {
    display: block;
}

html.dark .theme-toggle .moon-icon {
    display: none;
}

html:not(.dark) .theme-toggle .sun-icon {
    display: none;
}

html:not(.dark) .theme-toggle .moon-icon {
    display: block;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(var(--bg), 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

html.dark header {
    background-color: rgba(15, 23, 42, 0.8);
}

html:not(.dark) header {
    background-color: rgba(248, 250, 252, 0.8);
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

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

.logo svg {
    margin-right: 10px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(147, 51, 234, 0.1), transparent 50%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.testimonials {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-light);
    border: 2px solid var(--bg);
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
    background-color: var(--accent-blue);
}

.avatar:nth-child(2) {
    background-color: var(--accent-orange);
}

.avatar:nth-child(3) {
    background-color: var(--accent-green);
}

.avatar:nth-child(4) {
    background-color: var(--primary);
}

.testimonials p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.chat-window {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    color: #1E293B;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.chat-header {
    background-color: var(--primary);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
}

.chat-body {
    height: 300px;
    padding: 20px;
    overflow-y: auto;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #e2e8f0;
}

.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
}

.send-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.send-btn:hover {
    background-color: var(--primary-dark);
}

/* Stats Section */
.stats {
    background-color: var(--bg-muted);
    text-align: center;
}

.stats h2 {
    margin-bottom: 1rem;
}

.stats > p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background-color: var(--card-bg);
    padding: 30px 20px;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon.purple {
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--primary);
}

.stat-icon.blue {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.stat-icon.orange {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
}

.stat-icon.green {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.percentage {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon.purple {
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--primary);
}

.service-icon.blue {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.service-icon.orange {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
}

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

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-card ul {
    margin-bottom: 1.5rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 25px;
    color: var(--text-muted);
}

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

/* Benefits Section */
.benefits {
    background-color: var(--bg-muted);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon.purple {
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--primary);
}

.benefit-icon.blue {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.benefit-icon.orange {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
}

.benefit-icon.green {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

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

.benefit-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Productivity Section */
.productivity .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.productivity-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.productivity-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

.stars {
    color: #F59E0B;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-muted);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 30px 20px;
    max-height: 1000px;
}

.faq-cta {
    text-align: center;
    margin-top: 40px;
}

.faq-cta p {
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 3fr 2fr;
    box-shadow: var(--shadow);
}

.contact-form {
    padding: 40px;
}

.contact-form h2 {
    margin-bottom: 1rem;
}

.contact-form > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-muted);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 40px;
    color: white;
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-method svg {
    margin-right: 15px;
}

.contact-method p {
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--bg-muted);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 15px 0;
}

.footer-logo p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    background-color: var(--bg);
    border: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
    color: var(--text);
}

.newsletter-form button {
    border-radius: 0 8px 8px 0;
    padding: 0 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container,
    .productivity .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .testimonials {
        justify-content: center;
    }
    
    .contact-card {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    nav {
        display: none;
    }
    
    .stats-grid,
    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}