/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFFFF;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: #111827;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #111827;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background-color: #6366F1;
    color: white;
}

.btn-primary:hover {
    background-color: #4F46E5;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #F3F4F6;
    color: #374151;
}

.btn-secondary:hover {
    background-color: #E5E7EB;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #6366F1;
    border: 2px solid #6366F1;
}

.btn-outline:hover {
    background-color: #6366F1;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.logo-section {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.logo {
    width: 60px;
    height: 60px;
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    border-radius: 12px;
}

.floating-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366F1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.floating-element svg {
    width: 20px;
    height: 20px;
}

.floating-1 {
    top: 20%;
    left: 15%;
    animation: float 3s ease-in-out infinite;
}

.floating-2 {
    top: 60%;
    right: 20%;
    animation: float 3s ease-in-out infinite 1s;
}

.floating-3 {
    bottom: 20%;
    left: 25%;
    animation: float 3s ease-in-out infinite 2s;
}

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

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #111827;
}

.feature-card p {
    color: #6B7280;
    line-height: 1.6;
}

/* Technology Section */
.technology {
    padding: 100px 0;
    background-color: #111827;
    color: white;
}

.technology .section-title {
    color: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    text-align: center;
    padding: 2rem;
}

.tech-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.tech-icon svg {
    width: 32px;
    height: 32px;
}

.tech-item h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.tech-item p {
    color: #9CA3AF;
}

/* About Section */
.about {
    padding: 100px 0;
}

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

.about-text p {
    margin-bottom: 1.5rem;
    color: #6B7280;
    font-size: 1.1rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: #6366F1;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6B7280;
    font-weight: 500;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: #F9FAFB;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-card.featured {
    border: 2px solid #6366F1;
    transform: scale(1.05);
}

.product-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #6366F1;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-header {
    margin-bottom: 2rem;
}

.product-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111827;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 1.2rem;
    color: #6B7280;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
}

.period {
    font-size: 1rem;
    color: #6B7280;
}

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

.features-list li {
    padding: 0.5rem 0;
    color: #6B7280;
    position: relative;
}

.features-list li::before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* API Section */
.api {
    padding: 100px 0;
}

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

.api-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.api-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.7);
}

.api-code-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(17, 24, 39, 0.9);
    padding: 20px;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-line {
    margin-bottom: 8px;
}

.code-keyword {
    color: #F59E0B;
}

.code-variable {
    color: #10B981;
}

.code-operator {
    color: #EF4444;
}

.code-string {
    color: #8B5CF6;
}

.code-method {
    color: #06B6D4;
}

.code-bracket {
    color: #9CA3AF;
}

.api-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.api-text p {
    color: #6B7280;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.api-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.api-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #F3F4F6;
    border-radius: 8px;
}

.api-icon {
    width: 24px;
    height: 24px;
    color: #6366F1;
}

.api-feature span {
    font-weight: 500;
    color: #374151;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: #F9FAFB;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
}

.benefit-item h3 {
    margin-bottom: 1rem;
    color: #111827;
}

.benefit-item p {
    color: #6B7280;
    line-height: 1.6;
}

/* Workflow Section */
.workflow {
    padding: 100px 0;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.workflow-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.workflow-step h3 {
    margin-bottom: 1rem;
    color: #111827;
}

.workflow-step p {
    color: #6B7280;
    line-height: 1.6;
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: #111827;
}

.contact-details p {
    color: #6B7280;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-image-container {
        height: 300px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-image-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .about-image-4 {
        grid-column: 1;
        height: 200px;
        margin-top: 0;
    }
    
    .api-image-container {
        margin-top: 2rem;
    }
    
    .api-main-image {
        height: 250px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .logo-container {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .api-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .logo-container .logo {
        width: 50px;
        height: 50px;
    }
    
    .features, .technology, .about, .products, .api, .benefits, .workflow, .contact {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .api-features {
        grid-template-columns: 1fr;
    }
}