
/* Common */

.bg-primary-500 { background-color: #4f46e5; }
.bg-primary-600 { background-color: #4f46e5; }
.bg-primary-700 { background-color: #4338ca; }

/* App */

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    color: #4B5563;
    transition: all 0.2s;
}

.sidebar-link:hover {
    background-color: #F3F4F6;
    color: #1F2937;
}

.sidebar-link.active {
    background-color: #4338ca;
    color: white;
}

/* Index */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #e5e7eb;
}

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

header {
    padding: 20px 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #4f46e5;
}

.nav-btn-primary {
    padding: 10px 24px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.nav-btn-primary:hover {
    background: #4338ca;
}

.nav-btn-secondary {
    padding: 10px 24px;
    background: white;
    color: #4f46e5;
    border: 2px solid #4f46e5;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.nav-btn-secondary:hover {
    background: #f5f3ff;
}

.hero {
    padding: 80px 0;
    background: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    /* color: #1a1a1a; */
    line-height: 1.1;
}

.hero-left .subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 14px 32px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #4338ca;
    /* transform: translateY(-2px); */
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    padding: 14px 32px;
    background: white;
    color: #4f46e5;
    border: 2px solid #4f46e5;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #f5f3ff;
    /* transform: translateY(-2px); */
}

.btn-choice {
    padding: 6px 8px;
    margin: 6px 3px;
    background: white;
    color: #6e6e6e;
    border: 1px solid #9ca0a6;
    /*
    color: #525559;
    border: 1px solid #525559;
    color: #e5e7eb;
    border: 1px solid #e5e7eb;
    color: #4f46e5;
    border: 2px solid #4f46e5; 
     */
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-choice:hover {
    color: white;
    background: #4338ca;
    border: 1px solid #4338ca;
    /* 
    background: #232426;
    background: #1a1a1a;
    background:# #4338ca;
    background: #f5f3ff;
    transform: translateY(-2px); 
     */
}

.btn-choice.active {
    color: white;
    background: #4f46e5; 
    border: 1px solid #4f46e5;
    /*
    background: #232426;
    background: #1a1a1a;
     */
}

.code-block {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 24px;
    overflow-x: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.code-block pre {
    color: #d4d4d4;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.code-comment { color: #6a9955; }
.code-keyword { color: #569cd6; }
.code-string { color: #ce9178; }
.code-function { color: #dcdcaa; }
.code-property { color: #9cdcfe; }

.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    /* transform: translateY(-4px); */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #eef2ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.feature-card p {
    color: #6b7280;
    font-size: 15px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.stats {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #4f46e5;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #6b7280;
}

.pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: #4f46e5;
    /* transform: translateY(-4px); */
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.15);
}

.pricing-card.featured {
    border-color: #4f46e5;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #4f46e5;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 40px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 16px;
    color: #6b7280;
    font-weight: 400;
}

.pricing-description {
    color: #6b7280;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 8px 0;
    color: #4b5563;
}

.pricing-features li:before {
    content: "✓ ";
    color: #4f46e5;
    font-weight: bold;
    margin-right: 8px;
}

.implementation {
    padding: 80px 0;
    background: #f8f9fa;
    /* background: white; */
}

.implementation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.implementation-buttons {
    margin-top: 60px;
    margin-bottom: 6px; 
}

.implementation-content {}

.implementation-card {
    background: white;
    /* background: #f8f9fa; */
    padding: 32px;
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
}

.implementation-card:hover {
    /* transform: translateY(-4px); */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.implementation-text {
    font-size: 16px;
    color: #374151;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 32px;
    border-radius: 12px;
}

.testimonial-text {
    font-size: 16px;
    color: #374151;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 14px;
    color: #6b7280;
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: white;
    color: #4f46e5;
}

.cta-section .btn-primary:hover {
    background: #f8f9fa;
}

footer {
    padding: 40px 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #6b7280;
}

.loader {
    border: 8px solid #dde2ee;
    border-radius: 50%;
    border-top: 8px solid #4f46e5;
    width: 32px;
    height: 32px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-left h1 {
        font-size: 36px;
    }
}

