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

:root {
    --primary-purple: #5b21b6;
    --primary-blue: #1e40af;
    --accent-orange: #f97316;
    --accent-yellow: #fbbf24;
    --light-purple: #a78bfa;
    --light-blue: #93c5fd;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: white;
    color: var(--text-dark);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="2" fill="rgba(91,33,182,0.03)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.tagline {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(91,33,182,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91,33,182,0.4);
}

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

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

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Database Support Section */
.database-support {
    padding: 100px 0;
    background: white;
}

.database-support h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

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

.database-card {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    padding: 35px 25px;
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 15px rgba(91,33,182,0.2);
    transition: all 0.3s ease;
}

.database-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(91,33,182,0.3);
}

.database-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.database-card ul {
    list-style: none;
}

.database-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.database-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-weight: bold;
}

/* Use Cases Section */
.use-cases {
    padding: 100px 0;
    background: var(--bg-light);
}

.use-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.use-case-card {
    background: white;
    padding: 35px 30px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-orange);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.use-case-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.use-case-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Technology Stack Section */
.tech-stack {
    padding: 80px 0;
    background: white;
}

.tech-stack h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-blue) 100%);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.05);
}

.tech-name {
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-purple);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.contact-info a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.contact-info a:hover {
    color: var(--primary-purple);
}

/* Contact Form */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(91,33,182,0.1);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    border: none;
}

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

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

.footer-logo-img {
    max-width: 250px;
    margin-bottom: 20px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--light-purple);
}

.footer-column a {
    display: block;
    margin-bottom: 12px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--light-purple);
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .logo {
        max-width: 90%;
    }

    .features h2,
    .database-support h2,
    .use-cases h2,
    .tech-stack h2,
    .contact h2 {
        font-size: 2rem;
    }

    .features-grid,
    .database-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}
