/* Global Styles */
:root {
    --primary: #4361ee;
    --primary-light: #4895ef;
    --secondary: #3a0ca3;
    --accent: #f72585;
    --success: #4cc9f0;
    --dark: #1d3557;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --dashboard-bg: #f5f7fb;
    --card-bg: #ffffff;
    --text-light: #6c757d;
    --text-dark: #212529;
    --font-main: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

body.dashboard-body {
    background-color: var(--dashboard-bg);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

p {
    color: var(--gray);
}

.highlight {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    display: inline-block;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo h2 {
    color: var(--primary);
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff !important;
    padding: 0.7rem 1.8rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 700;
    border: 2px solid transparent;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.35);
    text-decoration: none;
}

.btn-login:active {
    transform: translateY(-1px);
    color: #ffffff !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    padding: 14rem 0 8rem;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.tagline {
    display: inline-block;
    background: rgba(247, 37, 133, 0.1);
    color: var(--accent);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

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

.hero-btns {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.stats {
    display: flex;
    gap: 3rem;
}

.stat h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.stat p {
    color: var(--gray);
    font-weight: 500;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 350px;
}

.phone-mockup {
    position: relative;
    width: 100%;
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    border: 12px solid #222;
}

.phone-header {
    height: 30px;
    background: #222;
    position: relative;
}

.camera-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #333;
    border-radius: 50%;
}

.phone-screen {
    height: 500px;
    background: #e5ddd5;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.message-bubble.received {
    background: var(--white);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message-bubble.sent {
    background: #d9fdd3;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.phone-footer {
    height: 60px;
    background: #222;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
    color: #25D366;
}

.element-2 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
    color: #3390ec;
}

.element-3 {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
    color: #ea4335;
}

.element-4 {
    bottom: 10%;
    right: -20px;
    animation-delay: 3s;
    color: var(--accent);
}

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

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

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

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.feature-card:hover:before {
    transform: scaleX(1);
}

.icon {
    width: 80px;
    height: 80px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
}

.feature-card:hover .icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.feature-card p {
    margin-bottom: 1.8rem;
    color: var(--gray);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    gap: 0.5rem;
    transition: var(--transition);
}

.feature-link:hover {
    gap: 0.8rem;
}

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

.icon {
    width: 70px;
    height: 70px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 1.8rem;
}

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

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card.featured {
    grid-column: auto;
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.02) 0%, rgba(67, 97, 238, 0.05) 100%);
}

.testimonial-card.featured::after {
    content: '⭐ Featured';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.testimonial-content {
    flex: 1;
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.7;
    margin: 0;
}

.testimonial-content p::before {
    content: '"';
    color: var(--primary);
    font-size: 2rem;
    font-weight: bold;
    margin-right: 0.2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--light-gray);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-info h4 {
    margin: 0 0 0.3rem 0;
    color: var(--dark);
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    color: var(--gray);
    font-size: 0.85rem;
}

/* API Section */
.api-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.api-text h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

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

.api-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.api-text li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.api-text li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.api-text li i {
    color: var(--success);
    font-size: 1.3rem;
}

.api-code {
    background: var(--dark);
    padding: 1.8rem;
    border-radius: var(--border-radius);
    color: white;
    position: relative;
    overflow: hidden;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
}

.dot:nth-child(1) { background: #ff5f56; }
.dot:nth-child(2) { background: #febc2e; }
.dot:nth-child(3) { background: #28c840; }

.api-code h3 {
    color: white;
    font-size: 1.2rem;
}

.api-code pre {
    background: #1a1e2d;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.6;
    border-left: 3px solid var(--primary);
}

.api-code h3 {
    color: white;
    margin-bottom: 1rem;
}

.api-code pre {
    background: #2d3748;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    color: #a0aec0;
    font-size: 0.9rem;
}

.api-code code {
    font-family: 'Courier New', monospace;
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.cta > .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    line-height: 1.2;
}

.cta p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.15rem;
    position: relative;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.cta p:not(.note) {
    margin-bottom: 2.5rem;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
    border-color: white;
    padding: 1rem 2.8rem;
    font-size: 1.05rem;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.note {
    margin-top: 1.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    position: relative;
}

/* Dashboard Specific Styles */
.dashboard-header {
    padding: 100px 0 2rem;
    background: white;
}

.dashboard-header h1 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: var(--gray);
}

.dashboard-stats {
    padding: 2rem 0;
    background: var(--dashboard-bg);
}

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

.stat-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--box-shadow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.bg-primary {
    background: var(--primary);
}

.bg-success {
    background: var(--success);
}

.bg-warning {
    background: #ffc107;
}

.bg-danger {
    background: #dc3545;
}

.stat-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.stat-info p {
    color: var(--text-light);
    margin: 0;
}

.dashboard-main {
    padding: 2rem 0 4rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 1.5rem;
}

.dashboard-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.dashboard-card.full-width {
    grid-column: span 2;
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    color: var(--dark);
    margin: 0;
}

.card-header a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.filter-options select {
    padding: 0.3rem 0.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-gray);
    background: white;
}

.card-content {
    padding: 1.5rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    text-align: center;
}

.action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.action-btn i {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.recent-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.message-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.message-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.message-icon.whatsapp {
    background: #25D366;
}

.message-icon.sms {
    background: #3390ec;
}

.message-icon.email {
    background: #ea4335;
}

.message-content {
    flex: 1;
}

.message-content h4 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
}

.message-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.message-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.message-status.sent {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary);
}

.message-status.delivered {
    background: rgba(76, 201, 240, 0.1);
    color: var(--success);
}

.message-status.pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.chart-container {
    padding: 1rem 0;
}

.chart-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.chart-demo {
    display: flex;
    justify-content: space-around;
    align-items: end;
    height: 200px;
    margin-top: 2rem;
    padding: 0 1rem;
}

.chart-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.bar {
    width: 40px;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
}

.chart-bar span {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.api-credentials {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.credential-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.credential-item label {
    font-weight: 500;
    color: var(--dark);
}

.credential-value {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--light);
    border-radius: var(--border-radius);
    font-family: monospace;
    font-size: 0.9rem;
}

.copy-btn {
    background: var(--light-gray);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--primary);
    color: white;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.activity-icon.success {
    background: var(--success);
}

.activity-icon.info {
    background: var(--primary);
}

.activity-icon.warning {
    background: #ffc107;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
}

.activity-content p {
    margin: 0 0 0.2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.time {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 6rem 0 3rem;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--success);
}

.footer-col h3 {
    font-size: 1.5rem;
}

.footer-col p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    font-size: 1.2rem;
}

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

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col ul li a:before {
    content: "→";
    font-size: 0.8rem;
    opacity: 0;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Login Page Styles */
.login-body {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    min-height: 600px;
}

.login-visual {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: white;
}

.visual-content {
    text-align: center;
}

.visual-content h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.visual-content ul {
    list-style: none;
    text-align: left;
    max-width: 300px;
    margin: 0 auto 2rem;
}

.visual-content li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
}

.visual-content li i {
    margin-right: 0.8rem;
    color: var(--success);
}

.secure-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.login-form {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 500;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.input-with-icon input {
    width: 100%;
    padding: 0.9rem 0.9rem 0.9rem 3rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.input-with-link {
    text-align: right;
    margin-top: 0.3rem;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-login-form {
    width: 100%;
    padding: 0.9rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn-login-form:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.divider span {
    color: var(--gray);
    margin: 0 1rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--light-gray);
}

.btn-google-login {
    width: 100%;
    padding: 0.9rem;
    background: white;
    color: var(--dark);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-google-login:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.signup-link {
    text-align: center;
    margin: 1.5rem 0;
    color: var(--gray);
}

.signup-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

.back-to-home {
    text-align: center;
    margin-top: auto;
}

.back-to-home a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.back-to-home a:hover {
    text-decoration: underline;
}

.login-visual {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: white;
}

.visual-content {
    text-align: center;
}

.visual-content h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.visual-content ul {
    list-style: none;
    text-align: left;
    max-width: 300px;
    margin: 0 auto 2rem;
}

.visual-content li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
}

.visual-content li i {
    margin-right: 0.8rem;
    color: var(--success);
}

.secure-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.secure-info p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container,
    .api-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 12rem 0 3rem;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-visual {
        display: none;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-card.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        padding: 12rem 0 5rem;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .stats {
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .api-content {
        grid-template-columns: 1fr;
    }
    
    .login-form {
        padding: 2rem 1.5rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card.featured {
        grid-column: auto;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 12rem 0 4rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Favicon fix */
/* This is a placeholder for the favicon which should be added */
/* A proper favicon.ico file should be placed in the root directory */