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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #dc143c 0%, #2f4f4f 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #1a202c;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 40px 60px;
    text-align: center;
}

.logo h1 {
    font-size: 3em;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2em;
    opacity: 1;
    font-weight: 300;
    color: #f0f0f0;
}

/* Navigation Tabs */
.tabs {
    display: flex;
    background: #2d3748;
    border-bottom: 2px solid #4a5568;
    overflow-x: auto;
}

.tab-button {
    flex: 1;
    padding: 18px 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: 500;
    color: #cbd5e0;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.tab-button:hover {
    background: #4a5568;
    color: #f0f0f0;
}

.tab-button.active {
    color: #dc143c;
    border-bottom-color: #dc143c;
    background: #1a202c;
}

/* Tab Content */
main {
    padding: 50px 60px;
    min-height: 500px;
    background: #1a202c;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    font-size: 2.5em;
    color: #f0f0f0;
    margin-bottom: 25px;
    border-bottom: 3px solid #dc143c;
    padding-bottom: 15px;
}

h3 {
    font-size: 1.8em;
    color: #f0f0f0;
    margin-top: 30px;
    margin-bottom: 15px;
}

h4 {
    font-size: 1.3em;
    color: #e2e8f0;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    color: #cbd5e0;
    font-size: 1.05em;
}

/* Home Tab Specific */
.intro {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #cbd5e0;
}

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

.feature-card {
    background: linear-gradient(135deg, #dc143c 0%, #2f4f4f 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

.feature-card h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

/* Technology Tab */
.tech-section {
    max-width: 900px;
}

.feature-list {
    margin-left: 30px;
    margin-bottom: 25px;
}

.feature-list li {
    margin-bottom: 12px;
    color: #cbd5e0;
    font-size: 1.05em;
    line-height: 1.6;
}

/* Licensing Tab */
.license-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.license-card {
    background: #2d3748;
    border: 2px solid #4a5568;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.license-card:hover {
    border-color: #dc143c;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.2);
    transform: translateY(-3px);
}

.license-card h4 {
    color: #dc143c;
}

.cta {
    background: #2d3748;
    border-left: 4px solid #dc143c;
    padding: 25px;
    margin-top: 40px;
    border-radius: 4px;
}

.cta strong {
    color: #f0f0f0;
    font-size: 1.1em;
}

/* Contact Tab */
.contact-section {
    max-width: 800px;
}

.contact-info {
    background: #2d3748;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.contact-info a {
    color: #dc143c;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form-note {
    margin: 30px 0;
}

.response-time {
    font-style: italic;
    color: #a0aec0;
    margin-top: 30px;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 50px;
}

footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.footer-note {
    font-size: 0.9em;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 30px 20px;
    }

    .logo h1 {
        font-size: 2em;
    }

    .tagline {
        font-size: 1em;
    }

    main {
        padding: 30px 20px;
    }

    h2 {
        font-size: 2em;
    }

    .tabs {
        overflow-x: auto;
    }

    .tab-button {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    .features,
    .license-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.6em;
    }

    main {
        padding: 20px 15px;
    }
}
