/* Global Styles */
:root {
    --primary-color: #0047AB; /* Deep, saturated blue (Cobalt) */
    --primary-dark: #00308F; /* Darker saturated blue */
    --secondary-color: #1E90FF; /* Bright blue for accents */
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gray-color: #6b7280;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

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

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

.btn-secondary:hover {
    opacity: 0.9;
}

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

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

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

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

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

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

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f6f8ff 0%, #e9f0ff 100%);
}

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

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

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 90%;
    animation: float 3s ease-in-out infinite;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background-color: white;
}

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

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-color);
}

.features-cta {
    text-align: center;
    margin-top: 60px;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: #f8fafc;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 25px;
    width: 2px;
    height: calc(100% - 30px);
    background-color: var(--border-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 30px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray-color);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: white;
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
}

.testimonial {
    min-width: 100%;
    padding: 0 15px;
}

.testimonial-content {
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: 30px;
    height: 30px;
    background-color: #f8fafc;
    transform: rotate(45deg);
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-left: 30px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

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

.testimonials-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background-color: #f8fafc;
}

.pricing-plans {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.pricing-plan {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    flex: 1;
    max-width: 350px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-plan.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-plan.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.plan-price {
    margin-bottom: 15px;
}

.plan-price .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
}

.plan-price .period {
    font-size: 1rem;
    color: var(--gray-color);
}

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

.plan-features {
    margin-bottom: 30px;
}

.plan-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

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

.plan-features ul li i {
    margin-right: 10px;
    font-size: 0.9rem;
}

.plan-features ul li i.fa-check {
    color: var(--success-color);
}

.plan-features ul li i.fa-times {
    color: var(--danger-color);
}

.plan-features ul li.disabled {
    color: var(--gray-color);
    text-decoration: line-through;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

/* API Documentation Section */
.api-docs {
    padding: 100px 0;
    background-color: white;
}

.docs-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}

.docs-sidebar {
    width: 100%;
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.docs-nav h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.docs-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.docs-nav ul li {
    margin: 0;
}

.docs-nav ul li a {
    display: block;
    padding: 12px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background-color: #f1f5f9;
    font-weight: 500;
}

.docs-nav ul li a:hover,
.docs-nav ul li a.active {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 36, 99, 0.2);
}

.docs-content {
    flex: 1;
}

.docs-section {
    margin-bottom: 80px;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.docs-section h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.docs-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

.docs-section p {
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--dark-color);
}

.endpoint {
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.endpoint:hover {
    transform: translateY(-5px);
}

.endpoint-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.method {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 10px;
    color: white;
}

.method.get {
    background-color: #3e92cc; /* Using the secondary color */
}

.method.post {
    background-color: #10b981; /* Success color */
}

.method.put {
    background-color: #f59e0b; /* Warning color */
}

.method.delete {
    background-color: #ef4444; /* Danger color */
}

.url {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 500;
}

.endpoint-description {
    margin-bottom: 20px;
}

.code-example {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.code-header {
    background-color: var(--primary-dark);
    color: white;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-example pre {
    margin: 0;
    padding: 20px;
    background-color: #1f2937;
    color: #e5e7eb;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.params-table {
    margin-bottom: 20px;
}

.params-table h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.params-table table {
    width: 100%;
    border-collapse: collapse;
}

.params-table th,
.params-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.params-table th {
    background-color: #f1f5f9;
    font-weight: 600;
}

.docs-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(10, 36, 99, 0.2);
}

.docs-cta p {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 500;
}

.docs-cta .btn {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

.docs-cta .btn:hover {
    background-color: transparent;
    color: white;
}

/* Technologies We Use Section */
.technologies {
    padding: 100px 0;
    background: linear-gradient(to bottom, white, #f8fafc);
    position: relative;
    overflow: hidden;
}

.technologies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(10, 36, 99, 0.03) 0%, transparent 20%);
    z-index: 0;
}

.technologies .container {
    position: relative;
    z-index: 1;
}

.technologies .section-header {
    margin-bottom: 60px;
}

.tech-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.tech-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 180px;
    position: relative;
    overflow: hidden;
}

.tech-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tech-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 36, 99, 0.15);
}

.tech-logo:hover::after {
    transform: scaleX(1);
}

.tech-logo img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.tech-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.tech-logo h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    transition: color 0.3s ease;
}

.tech-logo:hover h3 {
    color: var(--accent-color);
}

@media (max-width: 1200px) {
    .tech-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tech-logos {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #f8fafc;
}

/* Form Notification Styles */
.form-notification {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.success-message {
    display: flex;
    align-items: center;
    background-color: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success-color);
    padding: 15px;
    border-radius: 5px;
}

.success-message i {
    font-size: 24px;
    color: var(--success-color);
    margin-right: 15px;
}

.success-message p {
    color: var(--dark-color);
    font-weight: 500;
    margin: 0;
}

.contact-container {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    flex: 2;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
}

.contact-info-item .content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-info-item .content p {
    color: var(--gray-color);
}

.contact-info .social-links {
    margin-top: 40px;
    justify-content: center;
}

.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;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-col p {
    margin-bottom: 20px;
    color: #d1d5db;
}

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

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

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

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

.footer-col .address {
    margin-top: 15px;
}

.footer-col .address p {
    color: #b9b9b9;
    line-height: 1.6;
    font-size: 0.9rem;
}

.fa-whatsapp {
    color: #25D366;
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #d1d5db;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-plans {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-plan {
        max-width: 100%;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .pricing-plan.popular {
        transform: none;
    }
    
    .pricing-plan.popular:hover {
        transform: translateY(-10px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 20px;
        display: none;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .auth-buttons {
        display: none;
    }
}
