:root {
    --primary-color: #00b894;
    --secondary-color: #0984e3;
    --accent-color: #6c5ce7;
    --text-dark: #2d3436;
    --text-light: #dfe6e9;
    --bg-light: #ffffff;
    --bg-gradient: linear-gradient(135deg, #00b894 0%, #0984e3 100%);
    --card-shadow: 0 10px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero_bg.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.85) 0%, rgba(9, 132, 227, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--secondary-color);
}

/* Features/Platform Type Section */
.platform-types {
    padding: 4rem 5%;
    background: white;
    text-align: center;
}

.types-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.type-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: 2rem;
    border-radius: 20px;
    background: #f8f9fa;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-bottom: 5px solid var(--primary-color);
}

.type-card:nth-child(2) {
    border-bottom-color: var(--secondary-color);
}

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

.type-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* About Section */
.about {
    padding: 5rem 5%;
    background: #f4f7f6;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.about-img {
    flex: 1;
    min-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--bg-gradient);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 1rem;
    color: #636e72;
}

/* Modules Section */
.modules {
    padding: 5rem 5%;
    background: white;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.module-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

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

.module-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.module-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.module-card p {
    font-size: 0.9rem;
    color: #636e72;
}

/* FAQ Section */
.faq {
    padding: 5rem 5%;
    background: #f9f9f9;
}

.accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.accordion-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.accordion-header:hover {
    background: #f1f1f1;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: #636e72;
}

.icon-plus {
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.accordion-item.active .accordion-content {
    max-height: 200px; /* Approximate max height */
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: var(--text-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white;
    font-family: inherit;
}

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

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--bg-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.4);
}

/* Footer */
footer {
    background: #222;
    color: #888;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #333;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        height: calc(100vh - 70px);
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Back to Top Button */
#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background: var(--bg-gradient);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Pricing Section */
.pricing {
    padding: 8rem 5% 5rem;
    background: #f4f7f6;
    min-height: 100vh;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    position: relative;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

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

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.pricing-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pricing-title::before, .pricing-title::after {
    content: '';
    display: block;
    height: 2px;
    width: 30px;
}

/* Starter - Blue */
.card-starter .pricing-title { color: #0097e6; }
.card-starter .pricing-title::before, .card-starter .pricing-title::after { background: #0097e6; }
.card-starter .btn-price { background: #0097e6; }

/* Standard - Green */
.card-standard .pricing-title { color: #44bd32; }
.card-standard .pricing-title::before, .card-standard .pricing-title::after { background: #44bd32; }
.card-standard .btn-price { background: #44bd32; }

/* Premium - Dark Blue */
.card-premium .pricing-title { color: #0c2461; }
.card-premium .pricing-title::before, .card-premium .pricing-title::after { background: #0c2461; }
.card-premium .btn-price { background: #0c2461; }

/* Enterprise - Dark Green */
.card-enterprise .pricing-title { color: #4cd137; }
.card-enterprise .pricing-title::before, .card-enterprise .pricing-title::after { background: #4cd137; }
.card-enterprise .btn-price { background: #4cd137; }

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #636e72;
    line-height: 1.4;
}

.feature-optional {
    font-style: italic;
    color: #44bd32 !important;
}

.btn-price {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
}

.btn-price:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.pricing-note {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin-top: 1rem;
}
