/* Base Styles */
:root {
    --primary: #109BF0;
    --primary-dark: #006699;
    --secondary: #34495e;
    --light: #f5f7fa;
    --grey: #ecf0f1;
    --dark: #2c3e50;
    --text: #333333;
    --success: #27ae60;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 5rem 1rem;
}

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

/* Button Styles */
.primary-btn, .secondary-btn, .plan-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

.secondary-btn:hover {
    background-color: var(--grey);
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.plan-btn {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
}

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

/* Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
  max-width: 150px;
  width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 1.5rem;
    color: var(--secondary);
    font-weight: 500;
}

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

.login-btn {
    margin-left: 2rem !important;
}

.signup-btn {
    margin-left: 2rem !important;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 4px;
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

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

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

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    text-align: right;
    animation: float 6s ease-in-out infinite;
}

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

/* Features Section */
.features {
    background-color: var(--light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

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

/* Showcase Section */
.showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    text-align: left;
}

.showcase-list {
    list-style: none;
    margin: 1.5rem 0;
}

.showcase-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.showcase-list i {
    color: var(--primary);
    margin-right: 0.75rem;
}

.showcase-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.pricing-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--secondary);
}

.pricing-plans {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 2rem;
    width: 300px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: scale(1.05);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary);
}

.pricing-card.featured:hover {
    transform: scale(1.1);
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.plan-price span {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: normal;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--grey);
}

.plan-features li:last-child {
    border-bottom: none;
}

.compare {
    text-align: center;
    margin-top: 3rem;
}

.compare a {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.compare a i {
    margin-left: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    padding: 2rem;
    margin-bottom: 2rem;
}

.testimonial-content {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--light);
    transform: rotate(45deg);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--secondary);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--grey);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

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

/* CTA Section */
.cta {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 4rem 1rem;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
}

.cta .primary-btn {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    margin: 1.5rem 0;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

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

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background-color: var(--light);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-methods {
    margin-top: 2rem;
}

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

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.contact-method h3 {
    margin-bottom: 0.25rem;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--grey);
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    margin-bottom: 1rem;
  max-width: 100px;
  width: 100%;
}

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

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

.social-links a:hover {
    background-color: var(--primary);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

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

.footer-col ul li a {
    color: var(--light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--light);
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero, .showcase {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1rem;
    }
    
    .hero-content, .showcase-content {
        margin-bottom: 2rem;
    }
    
    .showcase-content h2 {
        text-align: center;
    }
    
    .showcase-list li {
        justify-content: center;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        height: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        overflow: hidden;
        transition: height 0.5s ease;
        z-index: 1000;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-links a {
        margin: 1rem 0;
    }
    
    .login-btn, .signup-btn {
        margin: 1rem 0 !important;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons a {
        margin-bottom: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        width: 100%;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .footer-col {
        margin-bottom: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

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

.hero-content, .hero-image, .feature-card, .showcase-content, .showcase-image, .pricing-card, .testimonial {
    animation: fadeIn 1s ease-out forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.6s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.8s;
}

.feature-card:nth-child(6) {
    animation-delay: 1s;
}

/* Additional Enhancements */
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection style */
::selection {
    background-color: var(--primary);
    color: var(--white);
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Button loading state */
.primary-btn.loading, .secondary-btn.loading, .plan-btn.loading {
    position: relative;
    color: transparent !important;
}

.primary-btn.loading:after, .secondary-btn.loading:after, .plan-btn.loading:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    border: 2px solid var(--white);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

.secondary-btn.loading:after {
    border-color: var(--primary);
    border-top-color: transparent;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
    border-radius: 4px;
    padding: 0.5rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Feature badges */
.feature-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: rgba(0, 153, 204, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Video modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1010;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-container {
    position: relative;
    width: 80%;
    max-width: 900px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.close-video {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1020;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Cookie consent banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.cookie-text {
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem;
    background-color: var(--white);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    box-shadow: var(--shadow);
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    border-color: var(--success);
}

.notification.error {
    border-color: #e74c3c;
}

/* App screenshots carousel */
.app-carousel {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.carousel-slide img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 10;
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

/* Newsletter signup */
.newsletter {
    background-color: var(--light);
    padding: 3rem 1rem;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--grey);
    border-radius: 4px;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Floating chat button */
.chat-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 900;
    transition: var(--transition);
}

.chat-button:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.chat-button i {
    font-size: 1.5rem;
}

/* Decorative shapes */
.shape {
    position: absolute;
    z-index: -1;
    opacity: 0.1;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background-color: var(--primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 10s linear infinite alternate;
}

.shape-2 {
    bottom: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    background-color: var(--primary);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s linear infinite alternate;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    100% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

/* Toggle Switch */
.toggle-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.toggle-label {
    margin: 0 1rem;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.toggle-label.active {
    opacity: 1;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--grey);
    transition: var(--transition);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}