/* Jupiter-i Website Styles */
:root {
    --blue-jupiter: #3A8FD9;
    --cyan-accent: #4FD1C5;
    --violet-ai: #9B7EDE;
    --gray-text: #2D3748;
    --gray-bg: #F7FAFC;
    --footer-bg: #1a202c;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-text);
    overflow-x: hidden;
}

/* Navigation Sticky */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Logo Size - 25% larger */
.logo-img {
    height: 50px;
    width: auto;
}

/* Hero Background Gradient */
.hero-gradient {
    background: linear-gradient(135deg, rgba(58, 143, 217, 0.03) 0%, rgba(79, 209, 197, 0.05) 100%);
}

/* Button with Glow Effect */
.btn-primary {
    background: linear-gradient(135deg, #3A8FD9, #4FD1C5);
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(58, 143, 217, 0.3), 0 0 40px rgba(79, 209, 197, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 30px rgba(58, 143, 217, 0.5), 0 0 60px rgba(79, 209, 197, 0.3);
}

.btn-secondary {
    background: white;
    border: 2px solid var(--blue-jupiter);
    border-radius: 12px;
    padding: 14px 30px;
    font-size: 18px;
    font-weight: 600;
    color: var(--blue-jupiter);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--blue-jupiter);
    color: white;
    transform: translateY(-2px);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(79, 209, 197, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(79, 209, 197, 0.2);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(79, 209, 197, 0.1);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 2px rgba(79, 209, 197, 0.3);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background: var(--gray-bg);
    color: var(--blue-jupiter);
}

/* Login Dropdown - with spacing */
.login-dropdown {
    position: relative;
    margin-left: 2em;
}

.login-dropdown .dropdown-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px solid var(--blue-jupiter);
    color: var(--blue-jupiter);
    font-weight: 600;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-dropdown .dropdown-btn:hover {
    background: var(--blue-jupiter);
    color: white;
}

.login-dropdown .dropdown-content {
    right: 0;
    left: auto;
    min-width: 160px;
}

.login-dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 2000;
    padding: 20px;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1500;
    position: relative;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--blue-jupiter);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .desktop-nav { display: none !important; }
    .hamburger { display: flex; }
    
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--cyan-accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sovereign Badge */
.sovereign-badge {
    background: linear-gradient(135deg, var(--blue-jupiter), var(--cyan-accent));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(79, 209, 197, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(79, 209, 197, 0); }
}

/* Pricing Table */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    border-color: var(--blue-jupiter);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(58, 143, 217, 0.05), rgba(79, 209, 197, 0.05));
    border-color: var(--cyan-accent);
    transform: scale(1.05);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
}

.cart-sidebar.active {
    right: 0;
}

/* Language Selector */
.lang-selector {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 2px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    min-width: 140px;
    z-index: 1000;
}

.lang-selector:hover .lang-dropdown {
    display: block;
}

.lang-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-option:hover {
    background: var(--gray-bg);
    color: var(--blue-jupiter);
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--blue-jupiter);
    box-shadow: 0 0 0 3px rgba(58, 143, 217, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-text);
}

.form-label.required::after {
    content: ' *';
    color: #e53e3e;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

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

.team-member {
    text-align: center;
}

.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--cyan-accent);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-photo:hover {
    transform: scale(1.05);
}

.team-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-text);
    margin-bottom: 8px;
}

.team-role {
    color: var(--blue-jupiter);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.team-description {
    color: #718096;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gray-bg);
}

.faq-question:hover {
    background: #edf2f7;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    line-height: 1.7;
}

.faq-answer.active {
    padding: 20px 24px;
    max-height: 600px;
}

.faq-icon {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Assessment Cards */
.assessment-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.assessment-card:hover {
    border-color: var(--blue-jupiter);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.assessment-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: white;
}

.footer-logo {
    height: 50px;
    width: auto;
}

/* Contact Page */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-container { padding: 24px; margin: 20px; }
}

/* Sub-assessment options */
.sub-assessment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.sub-assessment-card {
    background: linear-gradient(135deg, rgba(58, 143, 217, 0.05), rgba(79, 209, 197, 0.05));
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sub-assessment-card:hover {
    border-color: var(--cyan-accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Glow Effect */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(79, 209, 197, 0.2), transparent 70%);
    z-index: -1;
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 1;
}

/* Page transitions */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Success message */
.success-message {
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.1), rgba(58, 143, 217, 0.1));
    border: 2px solid var(--cyan-accent);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}
