:root {
    --primary-color: #051d40;        /* Deep navy blue */
    --secondary-color: #be2e78;      /* Vibrant pink/magenta */
    --accent-blue: #4a9eff;          /* Light blue for accents */
    --primary-light: #2a5788;
    --primary-dark: #0f2548;
    --secondary-light: #d456a0;
    --secondary-dark: #8f1e58;
    --text-light: #ffffff;
    --text-dark: #193967;
    --text-muted: #6c757d;
    --bg-light: #a6ce39;
    --bg-dark: var(--primary-color);
    --light-blue: #e3eaf1;
    
   
    --accent-color: #4a9eff;
    --success-color: #8eb032;
    --warning-color: #f59e0b;
    --danger-color: #ff6b6b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-color);
    border: none;
    border-bottom: none;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo {
    height: 40px;
    transition: filter 0.3s ease;
}

/* Make logo white on dark background */
.navbar:not(.scrolled) .nav-logo {
    filter: brightness(0) invert(1);
}

.navbar.scrolled .nav-logo {
    filter: none;
}

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

/* Brand text colors - white when dark navbar, original when scrolled */
.navbar:not(.scrolled) .brand-text {
    color: white;
}

.navbar:not(.scrolled) .brand-live {
    color: var(--secondary-color);
}

.navbar.scrolled .brand-text {
    color: var(--secondary-color);
}

.navbar.scrolled .brand-live {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar.scrolled .nav-link {
    color: var(--gray-700);
}

.nav-link:hover {
    color: var(--accent-color);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.btn-orcid {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.navbar.scrolled .btn-orcid {
    background: white;
    color: var(--gray-800);
    border: 2px solid #A6CE39;
}

.btn-orcid:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .btn-orcid:hover {
    background: #A6CE39;
    color: white;
    box-shadow: 0 4px 12px rgba(166, 206, 57, 0.3);
}

.navbar.scrolled .btn-orcid:hover .orcid-icon path:first-child {
    fill: white;
}

.navbar.scrolled .btn-orcid:hover .orcid-icon path:nth-child(2),
.navbar.scrolled .btn-orcid:hover .orcid-icon path:nth-child(3),
.navbar.scrolled .btn-orcid:hover .orcid-icon path:nth-child(4) {
    fill: #A6CE39;
}

/* Hero Section */
.hero {
    margin-top: 75px;
    min-height: calc(100vh - 80px);
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-top: none;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(190, 46, 120, 0.1) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content h2 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #4a9eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn-primary {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(190, 46, 120, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a9eff;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-frame {
    width: 750px;
    height: 400px;
    border-radius: 24px;
    background: white;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 50px rgba(74, 158, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

/* Flow diagram styles adapted for hero section */
.flow-container {
    width: 100%;
    height: 120%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.user-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.user-step {
    flex: 1;
    background: var(--light-blue);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-step:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 158, 255, 0.3);
}

.step-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.user-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(190, 46, 120, 0.4);
}

.step-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.step-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.step-subtitle {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 6px;
}

.step-description {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

.step-description strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--accent-color);
    animation: pulse-arrow 2s infinite;
    flex-shrink: 0;
    font-weight: bold;
}

@keyframes pulse-arrow {
    0%, 100% { 
        transform: scale(1) translateX(0); 
        opacity: 0.8; 
    }
    50% { 
        transform: scale(1.2) translateX(2px); 
        opacity: 1; 
    }
}

/* Animated Network */
.network-node {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
    border: 3px solid rgba(74, 158, 255, 0.3);
}

.network-node:nth-child(1) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.network-node:nth-child(2) {
    top: 20%;
    left: 30%;
    animation-delay: 1s;
}

.network-node:nth-child(3) {
    top: 20%;
    right: 30%;
    animation-delay: 2s;
}

.network-node:nth-child(4) {
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

.network-node:nth-child(5) {
    bottom: 20%;
    right: 20%;
    animation-delay: 4s;
}

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

.network-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #4a9eff, transparent);
    height: 2px;
    transform-origin: left center;
    animation: pulse-line 3s ease-in-out infinite;
}

@keyframes pulse-line {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: white;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(190, 46, 120, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(190, 46, 120, 0.1), rgba(74, 158, 255, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.feature-card:hover .feature-icon i {
    color: white;
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.feature-card:hover .feature-link {
    gap: 0.75rem;
}

/* How It Works */
.how-it-works {
    padding: 5rem 2rem;
    background: var(--gray-50);
}

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

.process-step {
    text-align: center;
    position: relative;
}

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

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.step-description {
    color: var(--gray-600);
    line-height: 1.6;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 60%;
    width: calc(100% - 60px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    opacity: 0.3;
}

/* Benefits Section */
.benefits {
    padding: 5rem 2rem;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.benefit-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.benefit-list {
    list-style: none;
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.benefit-text {
    color: var(--gray-700);
    line-height: 1.6;
}

.benefit-visual {
    position: relative;
    padding: 2rem;
}

.benefit-card {
    background: linear-gradient(135deg, #f5f3ff, #fce7f3);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1rem;
    transform: rotate(-2deg);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: rotate(0deg);
}

.benefit-card:nth-child(2) {
    transform: rotate(2deg);
    margin-left: 2rem;
}

.benefit-card:nth-child(2):hover {
    transform: rotate(0deg);
}

/* CTA Section */
.cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.2s;
}

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

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-400);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

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




    .page-header {
        background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
        color: white;
        padding: 6rem 3rem 4rem;
        margin-top: 76px;
    }

    .page-header-content {
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    }

    .page-title {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, #ffffff, #4a9eff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .page-subtitle {
        font-size: 1.3rem;
        opacity: 0.9;
        max-width: 800px;
        margin: 0 auto;
    }

    .page-content {
        padding: 4rem 3rem;
        background: white;
        min-height: 60vh;
    }

    .content-container {
        max-width: 900px;
        margin: 0 auto;
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--gray-700);
    }

    .content-container h2 {
        font-size: 2rem;
        font-weight: 700;
        margin: 2.5rem 0 1rem;
        color: var(--secondary-color);
    }

    .content-container h3 {
        font-size: 1.5rem;
        font-weight: 600;
        margin: 2rem 0 1rem;
        color: var(--primary-color);
    }

    .content-container p {
        margin-bottom: 1.5rem;
    }

    .content-container ul,
    .content-container ol {
        margin-bottom: 1.5rem;
        padding-left: 2rem;
    }

    .content-container li {
        margin-bottom: 0.5rem;
    }

    .content-container strong {
        color: var(--gray-800);
        font-weight: 600;
    }

    .content-container a {
        color: var(--primary-color);
        text-decoration: none;
        border-bottom: 2px solid transparent;
        transition: border-color 0.3s;
    }

    .content-container a:hover {
        border-color: var(--primary-color);
    }

    .content-container blockquote {
        border-left: 4px solid var(--primary-color);
        padding-left: 1.5rem;
        margin: 2rem 0;
        font-style: italic;
        color: var(--gray-600);
    }

    .content-container code {
        background: var(--gray-100);
        padding: 0.2rem 0.4rem;
        border-radius: 4px;
        font-family: 'Monaco', 'Consolas', monospace;
        font-size: 0.9em;
    }

    .content-container pre {
        background: var(--gray-900);
        color: white;
        padding: 1.5rem;
        border-radius: 8px;
        overflow-x: auto;
        margin-bottom: 1.5rem;
    }

    .content-container pre code {
        background: none;
        padding: 0;
        color: inherit;
    }

    @media (max-width: 768px) {
        .page-title {
            font-size: 2rem;
        }
        
        .page-subtitle {
            font-size: 1.1rem;
        }
        
        .page-content {
            padding: 2rem 1rem;
        }
        
        .content-container {
            font-size: 1rem;
        }
    }
