/* Reset & Base Styles */
* {
    margin: 10;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme Variables */
    --bg-color-light: #f8f9fa;
    --text-color-light: #333;
    --card-bg-light: #fff;
    --primary-color: #10b981;
    --primary-dark: #0d9668;
    --secondary-color: #3b82f6;
    --accent-color: #8b5cf6;
    --dark-color: #1e293b;
    --light-color: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --glow: 0 0 15px rgba(16, 185, 129, 0.5);
    
    /* Dark Theme Variables */
    --bg-color-dark: #0f172a;
    --text-color-dark: #f1f5f9;
    --card-bg-dark: #1e293b;
    --border-color-dark: #334155;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    transition: all 0.3s ease;
}

body.dark-mode {
    background-color: var(--bg-color-dark);
    color: var(--text-color-dark);
}

body.light-mode {
    background-color: var(--bg-color-light);
    color: var(--text-color-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--glow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.7);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(16, 185, 129, 0.1);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;    
    z-index: 10;
}

#theme-toggle-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow);
    position: relative;
    transition: all 0.3s ease;
}

#theme-toggle-btn:hover {
    transform: scale(1.1);
}

#theme-toggle-btn .fa-sun {
    display: none;
}

.light-mode #theme-toggle-btn .fa-sun {
    display: block;
}

.light-mode #theme-toggle-btn .fa-moon {
    display: none;
}

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    position: sticky;    
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.dark-mode .navbar {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
}

.light-mode .navbar {
    background-color: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    flex: 1;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.logo-ai {
    color: var(--primary-color);
    font-weight: 800;
}

.logo-tagline {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 2.5rem; 
}

.nav-menu li {
    margin-left: 0 2rem;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.dark-mode .nav-menu a:hover {
    color: var(--primary-color);
}

.light-mode .nav-menu a:hover {
    color: var(--primary-dark);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
}

.btn-nav {
    padding: 10px 24px;
    white-space: nowrap;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 10;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(16, 185, 129, 0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.badge {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-hero {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.hero-video {
    flex: 1;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--glow);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(16, 185, 129, 0.1));
    pointer-events: none;
}

/* Logo Cloud */
.logo-cloud {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color-dark);
    border-bottom: 1px solid var(--border-color-dark);
}

.light-mode .logo-cloud {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.logo-cloud-title {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
    opacity: 0.8;
}

.logo-cloud-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.logo-item {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dark-mode .logo-item {
    background-color: var(--card-bg-dark);
    border: 1px solid var(--border-color-dark);
}

.light-mode .logo-item {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
}

.logo-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

/* Features */
.features {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.dark-mode .feature-card {
    background-color: var(--card-bg-dark);
    border: 1px solid var(--border-color-dark);
}

.light-mode .feature-card {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: white;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 35px;
    width: 2px;
    height: calc(100% + 1rem);
    background-color: var(--primary-color);
    opacity: 0.3;
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-right: 2rem;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    padding-top: 10px;
}

/* Pricing */
.pricing {
    padding: 6rem 0;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background-color: var(--card-bg-dark);
    border-radius: 50px;
    padding: 5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.light-mode .pricing-tabs {
    background-color: var(--light-color);
}

.pricing-tab {
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: inherit;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.pricing-tab.active {
    background-color: var(--primary-color);
    color: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.dark-mode .pricing-card {
    background-color: var(--card-bg-dark);
    border: 1px solid var(--border-color-dark);
}

.light-mode .pricing-card {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--glow);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color-dark);
}

.light-mode .pricing-header {
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.pricing-features i {
    margin-right: 10px;
    width: 20px;
}

.pricing-features .fa-check {
    color: var(--primary-color);
}

.pricing-features .fa-times {
    color: #94a3b8;
}

.btn-pricing {
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.dark-mode .btn-pricing:not(.btn-primary) {
    background-color: #334155;
    color: white;
}

.light-mode .btn-pricing:not(.btn-primary) {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.btn-pricing:hover {
    transform: translateY(-3px);
}

.pricing-note {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pricing-note i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color-dark);
}

.light-mode footer {
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.social-links p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background-color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color-dark);
    font-size: 0.9rem;
    opacity: 0.7;
}

.light-mode .footer-bottom {
    border-top: 1px solid var(--border-color);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 0;
    position: relative;
}

.dark-mode .modal {
    background-color: var(--card-bg-dark);
}

.light-mode .modal {
    background-color: var(--card-bg-light);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color-dark);
}

.light-mode .modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    margin-bottom: 0;
    font-size: 1.8rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: inherit;
    line-height: 1;
}

.modal-body {
    padding: 2rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.light-mode .form-group input, .light-mode .form-group select {
    border: 1px solid var(--border-color);
    background-color: white;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.form-checkbox input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.form-checkbox a {
    color: var(--primary-color);
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.plan-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.plan-option {
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--border-color-dark);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.light-mode .plan-option {
    border: 2px solid var(--border-color);
}

.plan-option.active, .plan-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(16, 185, 129, 0.1);
}

.plan-option h4 {
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.plan-price span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.modal-note {
    padding: 1rem;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.paystack-branding {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color-dark);
}

.light-mode .paystack-branding {
    border-top: 1px solid var(--border-color);
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 2rem;
    color: #666;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hidden {
    display: none !important;
}

/* Video Modal */
.video-modal {
    max-width: 900px;
}

.video-modal .video-container {
    margin-bottom: 1.5rem;
}

.video-description {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plan-selection {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background-color: var(--card-bg-dark);
        padding: 2rem 0;
        transition: left 0.3s ease;
    }
    
    .light-mode .nav-menu {
        background-color: var(--card-bg-light);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .logo-cloud-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}