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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2D1B69;
    background: linear-gradient(135deg, #F7F3E9 0%, #F0EAD6 100%);
}

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

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: #2D1B69;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    color: #4A4A4A;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    margin: 0 8px 8px 0;
}

.btn-primary {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2D1B69;
    border: 2px solid #2D1B69;
}

.btn-secondary:hover {
    background: #2D1B69;
    color: white;
}

/* Header/Hero Section */
.hero {
    background: 
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(67, 56, 202, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #F7F3E9 0%, #F0EAD6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 2rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D1D5DB' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.brand-name {
    color: #2D1B69;
    font-size: 2rem;
    margin: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #2D1B69 0%, #4338CA 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Feature Images */
.feature-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #E5E7EB;
    background: #F9FAFB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Platform Overview */
.platform-overview {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.platform-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(245, 158, 11, 0.03) 49%, rgba(245, 158, 11, 0.03) 51%, transparent 52%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.platform-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.overview-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.overview-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Feature Sections */
.feature-section {
    padding: 6rem 0;
    position: relative;
}

.feature-section:nth-child(odd) {
    background: white;
}

.feature-section:nth-child(even) {
    background: 
        radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #F7F3E9 0%, #F0EAD6 100%);
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-content.reverse {
    direction: rtl;
}

.feature-content.reverse > * {
    direction: ltr;
}

.feature-text ul {
    list-style: none;
    padding: 0;
}

.feature-text li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4A4A4A;
}

.feature-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #F59E0B;
    font-weight: bold;
}

.image-placeholder {
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    font-size: 1.125rem;
    font-weight: 500;
    border: 2px dashed #9CA3AF;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(67, 56, 202, 0.1) 0%, transparent 50%),
        white;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.product-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid #E5E7EB;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-card.featured {
    border-color: #F59E0B;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
    transform: scale(1.05);
}

.product-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #F59E0B;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D1B69;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.product-card ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.product-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4A4A4A;
    border-bottom: 1px solid #F3F4F6;
}

.product-card li:last-child {
    border-bottom: none;
}

.product-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: bold;
}

/* Developer Tools */
.developer-tools {
    padding: 6rem 0;
    background: 
        linear-gradient(135deg, #F7F3E9 0%, #F0EAD6 100%);
}

.developer-tools h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.sdk-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Community Section */
.community {
    padding: 6rem 0;
    background: white;
}

.community h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.community-item {
    background: rgba(245, 158, 11, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(45, 27, 105, 0.05) 0%, transparent 70%),
        linear-gradient(135deg, #F7F3E9 0%, #F0EAD6 100%);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.contact-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-item h3 {
    color: #F59E0B;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #2D1B69;
    color: white;
    padding: 2.5rem 0 1.5rem;
}

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

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo-brand .brand-name {
    color: white;
    font-size: 1.5rem;
}

.footer-brand p {
    color: #A5B3F6;
    margin-top: 1rem;
}

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

.footer-column h4 {
    color: #F59E0B;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-column a {
    color: #A5B3F6;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4338CA;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #A5B3F6;
    margin: 0;
}

/* Responsive Design */
.centered-section {
    text-align: center;
}

.centered-section .container {
    text-align: center;
}

.centered-section .feature-content {
    text-align: left;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .feature-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .feature-content.reverse {
        direction: ltr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .logo-brand {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
}